0

I installed GoogleMaps module via pip

pip install GoogleMaps   

above command installed module in /usr/lib/python2.6/site-packages

but when I try load it gives me following error

>>> from googlemaps import GoogleMaps  
Traceback (most recent call last):  
  File "<stdin>", line 1, in <module>  
  File "googlemaps.py", line 1, in <module>  
    from googlemaps import GoogleMaps  
ImportError: cannot import name GoogleMaps  

Does anyone know why this is happening?

1
  • Is Question is not clear? Commented May 14, 2013 at 11:01

1 Answer 1

3

It looks like you have a python file called googlemaps.py?

This is causing a circular import and is repeatedly trying to import GoogleMaps from itself.

Try renaming your file to something else and see if that fixes your problem.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.