Today i've tried to create my own Telegram bot(i'm new at python), and i wanted to install pyTelegramBotAPI, i used 'pip' but it wrotes
pip is not internal or external command, executable program, or batch file.
Who can explain me how to use 'pip' in cmd correctly, without this errors?
Thanks for attention!
Asked
Active
Viewed 71 times
0
-
https://stackoverflow.com/search?q=%5Bpip%5D+pip+is+not+internal+or+external+command%2C+executable+program%2C+or+batch+file – phd Oct 27 '20 at 07:42
2 Answers
1
I assume you have python installed. type the following command
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
then in the same directory
python get-pip.py
![](../../users/profiles/13949270.webp)
CForce99
- 1,094
- 1
- 1
- 17
-
Hello! Thx for trying to help, but when i'm typing ```python get-pip.py``` cmd not writing anything, and just sending me to the new line. What could be problem? – MaksNeon Oct 27 '20 at 09:51
-
-
when i'm typing "python" and i pressing enter. It opens Microsoft Store, and sending me to Python 3.8 application on Microsoft Store – MaksNeon Oct 28 '20 at 10:16
-
just download python from the following link https://www.python.org/downloads/. – CForce99 Oct 28 '20 at 12:55
-
pip will also be installed just make sure to check the box that adds them to path – CForce99 Oct 28 '20 at 12:55
1
It's because your probably not add python into you PATH, try this : https://stackoverflow.com/a/23709194/14516256
![](../../users/profiles/14516256.webp)
Calamar Robot
- 37
- 9
-
It's easier to reinstall pip and it would add it automatically to the PATH – CForce99 Oct 26 '20 at 22:16
-
-
Hello! Thank you for trying to help me, but i've tried all ways in the discussion, that you send me, but these ways are not helpful for me :( – MaksNeon Oct 27 '20 at 09:45
-
Sorry for you, you can re execute your python setup, go to modify > make sure "pip" is enabled, next and enable "add Python to environement", install. – Calamar Robot Oct 27 '20 at 11:49