title: Getting "ModuleNotFoundError: No module named 'pip'" while inside of venv
body: <p>Trying to use a CLI scraper that needs python 3.10
  I installed python 3.10 and created the virtual environment using these commands:</p>
  <pre><code>sudo apt update &amp;&amp; sudo apt -y install python3.10
  sudo apt -y install python3.10-dev python3.10-venv
  python3.10 -m venv venv
  source venv/bin/activate
  </code></pre>
  <p>But then when I try to install the requirements</p>
  <pre><code>pip3 install --update -r requirements.txt
  </code></pre>
  <p>I get</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/home/alex/scraper/venv/bin/pip3&quot;, line 5, in &lt;module&gt;
      from pip._internal.cli.main import main
  ModuleNotFoundError: No module named 'pip'
  </code></pre>
  <p>While outside of the venv,</p>
  <pre><code>pip3 --version
  </code></pre>
  <p>Returns:</p>
  <pre><code>pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9)
  </code></pre>
  <p>I'm running Pop Os 21.04</p>