@glitch_support
Good evening! My name is Polina! I am writing to you with a request to help! I was working with third-party libraries for my project for the first time and I encountered a problem in the program itself, as I realized recently. The site doesn’t want to push the code further and returns the same error:
$ pip3
Traceback (most recent call last):
File “/usr/local/bin/pip3”, line 7, in
from pip._internal.cli.main import main
ModuleNotFoundError: No module named ‘pip._internal’ ,
so I definitely need your help as soon as possible! looking forward to your answer and thank you!
1 Like
Welcome to the forum @Apolly7!
Please try this command to update pip via python
python3 -m pip install --user --upgrade pip
1 Like
Hello again! Unfortunately, it still does not work(( Could you please tell me how can I fix it?
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py --force-reinstall
would this work?
Unfortunately I’m having the exact same seemingly similar error, and that doesn’t seem to resolve it. I’ll keep investigating.
Ah - I think I’ve resolved it, here.
In the terminal, I needed to nuke the virtual environment. pipenv --rm
did not work, but after running rm -rf .data
(where the venv was built previously), and having force reinstalled pip before that, the environment was rebuilt and things are working again.