I am working on a project that was written in Python 2, and I am updating it to Python 3. So far, I have just discovered minor syntax errors that are easy to fix. I created a new project in Python 3, made it work, and copied code fragments from the old project to the new one.
I am having problems with pysvn now. I originally received this error:
ImportError: no module named 'pysvn'
At this point, I tried using pip install pysvn , which did not work. I got the following:
pip install pysvn
Pysvn collection
Could not find a version that meets the pysvn requirement (from versions :)
No suitable distribution found for pysvn
So, after a little research, I went to pysvn to download the site and tried:
>pip install --index-url http://pysvn.tigris.org/project_downloads.html pysvn , which gave me this error:
Pysvn collection
The repository located at pysvn.tigris.org is not a reliable or secure host and is ignored. If this repository is accessible via HTTPS, it is recommended to use HTTPS instead, otherwise you can turn off this warning and in any case enable it using "-trusted-host pysvn.tigris.org".
as well as the same error as trying >pip install pysvn .
My next step was to manually download the .exe file for the version I needed, and I was able to successfully install pysvn. I checked the directory of package sites and pysvn is really there , but pip still can't tell me anything:
>pip show pysvn >
When I do this for another installed module, for example, selenium, I get the following:
pip show selenium
Metadata Version: 1.1
Title: selenium
Version: 2.49.2
Summary: Python bindings for Selenium
Homepage: https://github.com/SeleniumHQ/selenium/
Posted by: UNKNOWN
Email author: UNKNOWN
License: UNKNOWN
Location: ... \ lib \ site-packages
It is required:
I was able to verify that the installation of pysvn was successful because my project is now starting up instead of providing ImportError to me.
So why does pip not give me information for another module in the same directory that was successfully installed?