How do I know if Geopy is installed correctly

jsgambel used Ask the Experts™
Hi all - I'm having trouble with a python web view. The error message is: "Could not import <appname>.views. Error was: No module named geopy.distance"

I'm obviously trying to import geopy. I think I have it installed correctly but I don't know how to tell for sure.

I installed it using easy-install. This is the tail of the log after installation.
Installing script to C:\Python27\Scripts
Installing easy_install.exe script to C:\Python27\Scripts
Installing easy_install.exe.manifest script to C:\Python27\Scripts
Installing script to C:\Python27\Scripts
Installing easy_install-2.7.exe script to C:\Python27\Scripts
Installing easy_install-2.7.exe.manifest script to C:\Python27\Scripts

Installed c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg
Processing dependencies for setuptools==0.6c11
Finished processing dependencies for setuptools==0.6c11
Processing geopy-0.93-py2.7.egg
Copying geopy-0.93-py2.7.egg to c:\python27\lib\site-packages
Adding geopy 0.93 to easy-install.pth file

Installed c:\python27\lib\site-packages\geopy-0.93-py2.7.egg
Processing dependencies for geopy==0.93
Finished processing dependencies for geopy==0.93

There is a geopy.egg file in my Python/Lib/site-packages directory. Any suggestions on how to troubleshoot this? I have python and python\scripts in my path, though I don't think the path is the problem. At a loss as to why it can't import.

Python 2.7
geopy 0.93
Django 1.3
Windows 7

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
It looks like my osgeo installation was missing files. I added them from this site

and now I've moved on to a different error.


Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial