title: Can't find whl when using local pypi repository
body: <p>I'm trying to use a local nexus pypi repository to store my python whls but cannot download them successfully using PIP.</p>
  
  <p>Nexus is running on a machine with the ip <code>W.X.Y.Z</code></p>
  
  <p>and, via the web connection it shows my test repository </p>
  
  <pre><code>http://W.X.Y.Z:8081/#browse/browse/components:pypi-internal-test
  </code></pre>
  
  <p>If I select one of the whls it displays it shows a path of </p>
  
  <pre><code>Path    packages/tradeloader/1.1.0/tradeloader-1.1.0-py2.py3-none-any.whl
  </code></pre>
  
  <p>On my remote machine where I would like to install this whl I use the following command:</p>
  
  <pre><code>pip install --trusted-host W.X.Y.Z -i http://W.X.Y.:8081/repository/pypi-internal-test/packages tradeloader
  </code></pre>
  
  <p>It fails with the following</p>
  
  <pre><code>Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
  Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
  Config variable 'Py_UNICODE_SIZE' is unset, Python ABI tag may be incorrect
  Collecting tradeloader
    1 location(s) to search for versions of tradeloader:
    * http://W.X.Y.Z:8081/repository/pypi-internal-test/packages/tradeloader/
    Getting page http://W.X.Y.Z:8081/repository/pypi-internal-test/packages/tradeloader/
    Starting new HTTP connection (1): W.X.Y.Z
    "GET /repository/pypi-internal-test/packages/tradeloader/ HTTP/1.1" 401 0
  User for W.X.Y.Z:8081: &lt;&lt;My user&gt;&gt;
  Password:
    "GET /repository/pypi-internal-test/packages/tradeloader/ HTTP/1.1" 404 1814
    Could not fetch URL http://W.X.Y.Z:8081/repository/pypi-internal-test/packages/tradeloader/: 404 Client Error: Not Found for url: http://W.X.Y.Z:8081/repository/pypi-internal-test/packages
  /tradeloader/ - skipping
    Could not find a version that satisfies the requirement tradeloader (from versions: )
  Cleaning up...
  No matching distribution found for tradeloader
  </code></pre>
  
  <p>If I try and download the whl via the browser using </p>
  
  <pre><code>http://X.X.Y.Z:8081/repository/pypi-all/packages/tradeloader/1.1.0/tradeloader-1.1.0-py2.py3-none-any.whl
  </code></pre>
  
  <p>the whl comes down fine but, of course, I'm being very specific about what I want there and would like pip to allow me to just ask for the most recent</p>
  
  <p>I have been looking at this for a while and cannot see where I'm going wrong. Would anybody be able to help?</p>
  
  <p><strong>Edit: The following web page has the answer</strong></p>
  
  <p><a href="https://support.sonatype.com/hc/en-us/articles/115000572308-Unable-to-install-PyPi-package" rel="nofollow noreferrer">Unable to install PyPi package</a></p>