I'm trying to install a module on Python 3.2, but I'm unable to use Windows 7 . I need to install the module on Python 3.2, so the solution that works for other versions of Python will not be helpful for me (I had no problem installing the module in Python 2.7 or 3.3, 3,4) I have got rid of all my other versions of Ajhen, because I thought this could be a problem.
I have tried to install both PIPs, and do not install the package manually and do not work. At first glance, it seems that I am setting up the Setup Tools and correctly piping. PP
Installed c: \ python32 \ lib \ site-packages \ setuptools-7.0-py3.2.egg setup dependencies for setuptools == 7.0 Preparedness for Setuptools processing dependencies == 7.0 PS C: \ & gt; Python32 \ Get -pip.py Already up-to-date: C: \ python32 \ lib \ site-packages cleanup in PS: PS C: \ & gt;
It looks fine, okay?
Then when I try to use pip install geopy,
get output I here
pip: term
Pip is not recognized as the name of a CMDlet, function or operative program
etc. I'm sure Python 3.2 is specified in path environments, and all other versions of Python have been uninstalled. I do not know what I can do.
I also tried to install GOP manually. I went to Geethub's geographic page and pressed it on "download zip". I then removed the folder in python32 into the lib / site-packages directory. When I try to use setup.py ( python32 setup.py install
), here is an error message that I have found. I'm not sure what this error message is.
Traceback (most recent call final): file "setup.py", line 6,
Update: GeoPy 1.6 0 supported Python 3.2 for support, then update it and it should be installed and working.
Old Answer:
This is a bug, and / or it does not support Python 3.2, with the release of this Python, wire u can not be in the form of "string"
, as it is a syntax error, it was fixed for Python 3.3.
When you can install the package, the quick fix for geographic is to edit the installed files to remove u
in many module files such as "C: \ python32 \ Lib \ site-packages \ geopy-master \ geopy \ location.py "(shown in your question).
For example:
- Enter
Address "
toaddress =" "
< Li> Change - Also see for single quotation changes, e.g. .
Yu string '
signature_method = u "HMAC-SHA1"
signature_method = "HMAC-SHA1"
etc.
Comments
Post a Comment