(base) F:>pip3 install nltk 'pip3' is not recognized as an internal or external command, operable program or batch file.
what should i do to resolve this issue. Thanks in advance
On Windows, it's a good idea to stick to launching pip
via the py.exe
common launcher, so you can provide flags to specify which version of Python to use without needing to deal with a complicated PATH
.
To use it for Python 3, just replace:
pip3 RESTOFCOMMAND
with:
py -3 -mpip RESTOFCOMMAND
It's a little bit longer to type, but it avoids a lot of hassles with PATH
management, and changing it to run on more and more specific Python versions (when you have multiple versions available) is easy; if you want to be sure Python 3.6 is used even if Python 3.7 is available, you'd just change to:
py -3.6 -mpip RESTOFCOMMAND
On your computer, it appears that you can install using pip
instead of pip3
. So, just use:
F:\> pip install whatever
You should check your system path by doing this:
F:\> echo %PATH%
You will get ;
separated paths. Find the path to python installation. Chances are you will see ...\Scripts
. You can go to that directory and confirm that you have pip. If you have pip3 installed elsewhere (you can do file search in Windows), you can add that path to your PATH variable.
https://projects.raspberrypi.org/en/projects/using-pip-on-windows/5 can help you.
F:\> pip
and hit Enter? – zedfoxusF:\> pip install nltk
? – zedfoxus