Just installed a fresh copy of Python3.10 via Pop OS, followed by pip and the python Pipenv package. Installing pip packages works fine globally, but if I try to use pip inside a virtual environment on its own (for any package, Numpy to name one) I get:
From running pipenv install <package> from outside my venv in the project folder,
Installing numpy...
Error: An error occurred while installing numpy!
Error text:
/home/xxxxx/.local/share/virtualenvs/xx-xxxxx-Kg4m1CDN/bin/python: No module named pip
ā Installation Failed
and from pip install <package> from inside the venv,
Traceback (most recent call last):
File "/home/xxxxx/.local/share/virtualenvs/xx-xxxxx-Kg4m1CDN/bin/pip", line 5, in <module>
from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip'
version details:
python3.10 --version: Python 3.10.0b1
python3.10 -m pip -V: pip 21.3.1 from /home/xxxxx/.local/lib/python3.10/site-packages/pip (python 3.10)
(specific names x-ed out for privacy)
I've already googled around and checked the Pipenv GitHub so I'm stumped. Hopefully this is something simple that I've so far managed to avoid but I have no idea where to go from here - any help would be appreciated!
If there are any other logs or any info needed just let me know.