Python 2.7 Cannot Import Geocoder Library
Python 2.7.10 on win32. windows 8.1 used pip to install geocoder library https://pypi.python.org/pypi/geocoder/1.8.0 get this error when I try and import the library >>>
Solution 1:
Try running the following command to install the module
[root@server] python -m pip install decorator
This should install the module to the python library of the interpreter that starts when you run the python command
then try start up your interpreter again and try to import the module (assuming it doesn't say it's already satisfied)
[root@server] python
>> from decorator import decorator
>>
if it does say that it's already satisfied, then you can try to uninstall it using pip and then reinstall it by explicitly specifying the python -m command
[root@server] pip uninstall decorator
[root@server] python -m pip install decorator
then you can check to see if the module is available in your default interpretor
[root@server] python
>> from decorator import decorator
>>
Post a Comment for "Python 2.7 Cannot Import Geocoder Library"