'ImportError: No module named 'geopy' ipython-notebook
currently I need to make some distance calculation. For this I am trying the following on my ipython-notebook (version 4.0.4):
from geopy.distance import vincenty
ig_gruendau = (50.195883, 9.115557)
delphi = (49.99908,19.84481)
print(vincenty(ig_gruendau,delphi).miles)
Unfortunately I receive the following error when running the code above: ImportError: No module named 'geopy'
Since I am pretty new at python, I wonder how can I install this module (without admin rights) or what other simple options I do have for this calculations?
Thanks, ML
Solution 1:[1]
Even if you install using pip install command you still have to use:
conda install -c conda-forge geopy
This command is in the anaconda server so that it gets installed in the anaconda.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | benson23 |
