title: A pip subprocess error when I create an environment for one project in its root folder
body: <p>Running Ubuntu 18.04 LTS as WSL2 on Win10, I need to create an environment to install Devito on my system. So, in a root folder of this project I do:</p>
  <pre><code>(base) quant@NB-W-I-NIKONENKO:~/devito$ conda env create -f environment-dev.yml
  </code></pre>
  <p>and get this:</p>
  <pre><code>Collecting package metadata (repodata.json): done
  Solving environment: done
  Preparing transaction: done
  Verifying transaction: done
  Executing transaction: done
  Installing pip dependencies: \ Ran pip subprocess with arguments:
  ['/home/quant/anaconda3/envs/devito/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/quant/devito/condaenv.r9s6c4x4.requirements.txt']
  Pip subprocess output:
  Requirement already satisfied: pip&gt;=9.0.1 in /home/quant/anaconda3/envs/devito/lib/python3.9/site-packages (from -r /home/quant/devito/requirements.txt (line 1)) (21.2.4)
  
  Pip subprocess error:
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f27c959d970&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pip/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f27c959d5b0&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pip/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f27c959df10&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pip/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f27c95c5100&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pip/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f27c95c52b0&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pip/
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f27c8f2bc10&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/numpy/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f27c8f2be20&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/numpy/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f27c8f32040&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/numpy/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f27c8f321c0&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/numpy/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f27c8f32370&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/numpy/
  ERROR: Could not find a version that satisfies the requirement numpy&gt;1.16 (from versions: none)
  ERROR: No matching distribution found for numpy&gt;1.16
  
  failed
  
  CondaEnvException: Pip failed
  </code></pre>
  <p>The next installation commands should be:</p>
  <pre><code>source activate devito
  </code></pre>
  <p>which works, and the next:</p>
  <pre><code>pip install -e .
  </code></pre>
  <p>which shows the following:</p>
  <pre><code>Obtaining file:///home/quant/devito
  Requirement already satisfied: pip&gt;=9.0.1 in /home/quant/anaconda3/envs/devito/lib/python3.9/site-packages (from devito==4.6.2+60.g9b765d0d6) (21.2.4)
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa7509e1040&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/numpy/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa750a4d9d0&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/numpy/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa750a4d880&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/numpy/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa750a4d190&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/numpy/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('&lt;pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa750a4dca0&gt;: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/numpy/
  ERROR: Could not find a version that satisfies the requirement numpy&gt;1.16 (from devito) (from versions: none)
  ERROR: No matching distribution found for numpy&gt;1.16
  </code></pre>
  <p>So, I can not install the package correctly and implement the final command:</p>
  <pre><code>conda update - all –yes
  </code></pre>
  <p>I noticed that base Python version is 3.7.6 and after the source activation python version is 3.9.7 (I am not sure if it helps but I really struggled with this problem).</p>
  <p>Here is the link for installation instructions for the Devito
  <a href="https://medium.com/@soulfoodpst/install-devito-on-windows-a-tool-for-automatic-programming-3def3949e5c8" rel="nofollow noreferrer">https://medium.com/@soulfoodpst/install-devito-on-windows-a-tool-for-automatic-programming-3def3949e5c8</a></p>