Relative Content

Tag Archive for pythonpip

ModuleNotFoundError in installing pip

i can’t run pip on python 3.12,i used to use 3.10 then installed 3.12 . it installed successfully but when try to run it command says “ModuleNotFoundError: No module named ‘pip._internal’; ‘pip’ is not a package”

PYTHON : pip can’t install packages in an entreprise python installation

I’m working for a company that has a lot of security restrictions hence they have their own distribution of python via miniforge3. For some reason, when I’m trying to install libraries in a venv in PyCharm (“pip install numpy”), it doesn’t find the location and can’t install it (see image), although it works when using pip “globally” (without any virtual environment). I had a look at the different file in /venv/Scripts but I can’t find out why it doesnt work. The weird thing is that my collegue has exactly the same install for everything and there’s no issue.