Comments (11)
The solution is to use version 0.4.1.1, downloading the code from the releases page and not install it using pip which supports the previous version 0.4.1 @phukeo
from flask-googlemaps.
No worries at all! You can find that specific release here and download a zip of the source.
plusangel mentioned not using pip to install, but this turned out to work fine for my use.
Just specify the directory of the folder when installing, and use a virtual environment if you plan on working with other versions. Also keep in mind the project now fully supports poetry.
pip install ~/bla/Flask-GoogleMaps-0.4.1.1/
from flask-googlemaps.
If you're trying to do this in docker, you can add something like
# install python dependencies
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
RUN wget https://github.com/flask-extensions/Flask-GoogleMaps/archive/refs/tags/0.4.1.1.zip -O flask-googlemaps.zip
RUN pip install flask-googlemaps.zip
As I ran into this issue earlier today.
from flask-googlemaps.
I have the same issue like @phukeo Google Maps API key works on a simple (hello world) page but not with Flask-googlemap plugin. I use version 4.1
from flask-googlemaps.
Just FYI I masked my API details in my original comment. As mentioned before my API key is working for other applications
from flask-googlemaps.
Just wanted to say I'm encountering the same error. will try @plusangel 's solution.
edit: worked like a charm :)
from flask-googlemaps.
Just wanted to say I'm encountering the same error. will try @plusangel 's solution.
edit: worked like a charm :)
Could you please provide the link to the release page of version 0.4.1.1
from flask-googlemaps.
Hello @Bhumika-Kothwal This is your place for the release
from flask-googlemaps.
Hello @Bhumika-Kothwal This is your place for the release
Thankyou! You helped me solve the probblem
from flask-googlemaps.
Just wanted to say I'm encountering the same error. will try @plusangel 's solution.
edit: worked like a charm :)
I am sorry but I am bit of a noob in python, how do I install it without going through pip?
Thanks in advance!
from flask-googlemaps.
No worries at all! You can find that specific release here and download a zip of the source.
plusangel mentioned not using pip to install, but this turned out to work fine for my use.
Just specify the directory of the folder when installing, and use a virtual environment if you plan on working with other versions. Also keep in mind the project now fully supports poetry.
pip install ~/bla/Flask-GoogleMaps-0.4.1.1/
As you said before, worked like a charm! :) thank you so much!
from flask-googlemaps.
Related Issues (20)
- How to use Places Library API
- [RFC] Add KML layer on the Map HOT 1
- [RFC] Resizable Split Map Panes
- [RFC] Traffic layer on GoogleMaps
- Cannot install latest version 0.4.0 by PIP
- [RFC] Bicycle lane turn on and off
- [bug] No data validation for lat and lng attributes HOT 8
- Add a marker label
- Google Map doesn't show up in example HOT 8
- (index):49 Uncaught SyntaxError: Unexpected identifier HOT 6
- [RFC] Heatmaps HOT 1
- Release the latest version of the library to pypi HOT 13
- Invite to be a maintainer
- Prevent cluster at zoom level
- [bug] All the described ways of showing a map in this repo don't work HOT 5
- []
- Lots of diff between Pypi version & repo version in flask_googlemaps folder HOT 1
- [bug] import "Markup" fails when using Flask 3.0+ in __init__.py
- [RFC]: Bring Flask-GoogleMaps up to date with latest dependencies HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-googlemaps.