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 237 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

BeeFriedman
- 1,800
- 1
- 11
- 29
-
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? – NeoTech 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 – NeoTech Oct 28 '20 at 10:16
-
just download python from the following link https://www.python.org/downloads/. – BeeFriedman Oct 28 '20 at 12:55
-
pip will also be installed just make sure to check the box that adds them to path – BeeFriedman 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

Calamar Robot
- 59
- 12
-
It's easier to reinstall pip and it would add it automatically to the PATH – BeeFriedman 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 :( – NeoTech 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