Why can't pip find pysvn?
<p>I'm working on a project which was written in Python 2, and I'm upgrading it to Python 3. So far, I've just been finding minor syntax errors which are easily fixable. What I've done is created a new project in Python 3, ensured that it worked, and copies chunks of code from the old project into the new one.</p>
<p>Right now, I'm having trouble with pysvn. Initially, I was getting this error:</p>
<blockquote>
<p>ImportError: No module named 'pysvn'</p>
</blockquote>
<p>At this point, I tried using <code>pip install pysvn</code>, which didn't work. I got the following:</p>
<blockquote>
<p>pip install pysvn</p>
<p>Collecting pysvn</p>
<p>Could not find a version that satisfies the requirement pysvn (from versions:)</p>
<p>No matching distribution found for pysvn</p>
</blockquote>
<p>So then after a bit of research, I went to the pysvn <a href="http://pysvn.tigris.org/project_downloads.html" rel="noreferrer">download site</a> and tried:</p>
<p><code>&gt;pip install --index-url http://pysvn.tigris.org/project_downloads.html pysvn</code>, which gave me this error:</p>
<blockquote>
<p>Collecting pysvn</p>
<p>The repository located at pysvn.tigris.org is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host pysvn.tigris.org'.</p>
</blockquote>
<p>and also the same error as when I tried <code>&gt;pip install pysvn</code>.</p>
<p>My next step was to manually download the .exe file for the version I needed, and I was able to successfully install pysvn. I have checked the site-packages directory, and pysvn <strong>is indeed there</strong>, but pip still can't tell me anything about it:</p>
<pre><code>&gt;pip show pysvn

&gt;
</code></pre>
<p>When I do this for another installed module, selenium for example, I get the following:</p>
<blockquote>
<p>pip show selenium</p>
<hr />
<p>Metadata-Version: 1.1</p>
<p>Name: selenium</p>
<p>Version: 2.49.2</p>
<p>Summary: Python bindings for Selenium</p>
<p>Home-page: <a href="https://github.com/SeleniumHQ/selenium/" rel="noreferrer">https://github.com/SeleniumHQ/selenium/</a></p>
<p>Author: UNKNOWN</p>
<p>Author-email: UNKNOWN</p>
<p>License: UNKNOWN</p>
<p>Location: ...\lib\site-packages</p>
<p>Requires:</p>
</blockquote>
<p>I was able to verify that the installation of pysvn was successful because my project now runs instead of giving me that ImportError.</p>
<p>So why can <code>pip</code> not give me information for another module in the same directory that <em>was successfully installed</em>?</p>