Python/PIP problems [duplicate] - python

This question already has answers here:
'pip' is not recognized as an internal or external command
(40 answers)
Closed 4 years ago.
I'm trying to insall a Python library using pip and seemingkly can't get by first base.
I tried:
Make sure pip is installed:
python -m ensurepip --default-pip
MESSAGE: requirement already satisfied
Check it's up to date:
python -m pip install --upgrade pip setuptools wheel
MESSAGE: .... successfuly installed stup tools 40.6.2
Check it works:
pip --version
ERROR MESSAGE: 'pip' is not recognized as an internal or external command, operable program, or batch file
Is this a Path issue?
\lib\site packages\pip --version
MESSAGE: 'pip' is not recognized as an internal or external command, operable program, or batch file
What am I doing wrong?

I've had this issue so many times, it's a PATH issue: if you're on windows, just go to the command line as admin and use this:
SET PATH=%PATH%;c:\wherever_python_is_installed_on_your_computer

Related

I have Python version 3.10 and my command center is saying i don't have PIP [duplicate]

This question already has answers here:
'pip' is not recognized as an internal or external command
(39 answers)
Closed 2 months ago.
I thought version 3 has pip installed. Why is my command prompt giving me this message when I do pip --version?
'pip' is not recognized as an internal or external command,
operable program or batch file.
What is the issue?
You can try using
py -m pip --version

PyCharm install package with square brackets [duplicate]

This question already has answers here:
'pip' is not recognized as an internal or external command
(40 answers)
Closed 1 year ago.
I want to install "stabe-baselines3[extra]"
But in the PyCharm Package installer is only "stable-baselines3" available.
When try to install it via 'pip install' I do get this error:
Translation: 'pip' is not recognized as an internal or external command
How do I get the [extra]?
From: https://github.com/DLR-RM/stable-baselines3
So are you actually needing that additional functionality for atari games?
If so, then you can just use the built-in Terminal to manually install the package you are needing:
Which if you didn't already know, can be found right here:
Otherwise, you can just use stable-baselines3, as you have already found is available within the package manager.
The terminal has to be used. Reason the terminal hasn't worked is because in the settings 'Start directory' hasn't been the Python Scripts folder but the main-file folder.
After that folder change the pip install command worked!

problem arising while installing pandas library in python [duplicate]

This question already has answers here:
'pip' is not recognized as an internal or external command
(40 answers)
Closed 3 years ago.
i am installing pandas for python on windows 10.
this is the code i am typing in cmd:
pip install pandas
normally this should have led to the installation of pandas. however, i am getting the following error in cmd:
C:>pip install pandas
'pip' is not recognized as an internal or external command,
operable program or batch file.
i have installed anaconda before.
I would first guess that pip is not installed. Which version of Python are you using? Is python set in your path correctly?
If python 3, pip should be installed, not always the case with python 2. You can use this
https://bootstrap.pypa.io/get-pip.py. This should set you straight.
OS : Widwos
Follow the link "https://www.liquidweb.com/kb/install-pip-windows/" to install pip

installing xlrd in to python3.6 [duplicate]

This question already has answers here:
'pip' is not recognized as an internal or external command
(40 answers)
Closed 4 years ago.
I have been trying to install xlrd into my computer but keep on popping out the below error msg.
'pip' is not recognized as an internal or external command,
operable program or batch file.
I am not sure what I am doing wrong here.
Version of Python is 3.6 in my computer
Thanks
you should be doing python3 -m pip install xlrd
This is because pip is a module within python not an actual command on your computer.

Installing Python SpeechRecognition package [duplicate]

This question already has answers here:
ERROR:'keytool' is not recognized as an internal or external command, operable program or batch file
(33 answers)
'pip' is not recognized as an internal or external command
(40 answers)
Closed 6 years ago.
Can someone please advise me how to download and install speech_recognition?
I am currently using Python 2.7.12 on Windows 10.
Should I use the command prompt? If yes, can you please show me exactly what I should write in the commands.
I wrote pip install SpeechRecognition in the command prompt. But am getting this error:
'pip' is not recognized as an internal or external command, operable program or batch file'
You can try this
c:\python27\scripts\pip.exe install SpeechRecognition
now if that doesn't work its probably that your pip is broken you'll need to uninstall python and install it again.
You can also run this from cmd: (for those getting an error with the above dir..)
python -m pip install SpeechRecognition
It hope it will work

Categories

Resources