Pip is not installing
Solved
Hello, I would like to install Ursina Engine for Python but I need pip. I tried to install it but when I run the command
What should I do to install it, please?
Thank you in advance.
P.S. I have Python version 3.9.1.
pip installthe command prompt tells me that pip is not recognized as an internal or external command.
What should I do to install it, please?
Thank you in advance.
P.S. I have Python version 3.9.1.
2 answers
-
Hello,
If you're on Linux (please specify your distribution), you need to install the appropriate package. In what follows, I'm assuming you're on Debian or a derivative distribution (Ubuntu, Mint, ...) that usesapt
as its package manager:- Python2:
sudo apt install python-pip
(thepip
command will then be available) - Python3:
sudo apt install python3-pip
(thepip3
command will then be available).
Note that when you have the option, it's advisable to install a Python module via APT first rather than usingpip
(these packages have a name that starts withpython-*
for Python2 andpython3-*
for Python3).
Example: to install numpy in Python3, you prefersudo apt install python3-numpy
tosudo pip3 install numpy
.
Good luck.-
-
-
-
-
Hello
I'm stuck at the point where I have to run the commandcd the_name_of_the_folder
I don't know what your commandcd the_name_of_the_folder
refers to, butthe_name_of_the_folder
should be replaced with the path of the folder you want to navigate to.
I've already piped the problem that, for example, if I want to install guizero, I run the command pip install guizero and it shows me this
It may not be correctly installed, or at least pip.exe might not be located in a folder referenced in your environment variable$Env:Path
. According to this tutorial, you must have missed something before step 5 (because ifpip install
does not work, you probably did not successfully complete step 5).
In which folder is yourpip
executable located? What does your variable$Env:Path
show in PowerShell?
Good luck
- Python2:
-
Hello,
I am on Windows 10
To install a module, I type the following command in the command prompt:
python -m pip install module_name
example:
python -m pip install simpleaudio
