Trying to use a CLI scraper that needs python 3.10 I installed python 3.10 and created the virtual environment using these commands:
sudo apt update && 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
But then when I try to install the requirements
pip3 install --update -r requirements.txt
I get
Traceback (most recent call last):
File "/home/alex/scraper/venv/bin/pip3", line 5, in <module>
from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip'
While outside of the venv,
pip3 --version
Returns:
pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9)
I'm running Pop Os 21.04