Skip to content
This repository has been archived by the owner on Jun 28, 2020. It is now read-only.

ImportError: cannot import name uses_netloc #17

Open
Orisbaum opened this issue Jan 16, 2019 · 2 comments
Open

ImportError: cannot import name uses_netloc #17

Orisbaum opened this issue Jan 16, 2019 · 2 comments

Comments

@Orisbaum
Copy link

Hey!
when I try to run the script (after installing all the dependencies) on my machine Mojave MacBook Pro PyCharm
I get:
Traceback (most recent call last):
File "/Users/lol/Library/Preferences/PyCharm2018.2/scratches/scratch.py", line 3, in
import folium
File "/Library/Python/2.7/site-packages/folium/init.py", line 23, in
from folium.features import (
File "/Library/Python/2.7/site-packages/folium/features.py", line 17, in
from folium.folium import Map
File "/Library/Python/2.7/site-packages/folium/folium.py", line 16, in
from folium.map import FitBounds
File "/Library/Python/2.7/site-packages/folium/map.py", line 15, in
from folium.utilities import _validate_coordinates, camelize, get_bounds
File "/Library/Python/2.7/site-packages/folium/utilities.py", line 14, in
from six.moves.urllib.parse import urlparse, uses_netloc, uses_params, uses_relative
ImportError: cannot import name uses_netloc

would love your help with solving this issue :)
thanks in advance!

@woj-ciech
Copy link
Owner

Hey. Can you please post exact command that you use?

@Orisbaum
Copy link
Author

Just running the script from the repo after I've inserted all the relevant keys for the apis.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants