0

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!

phd
  • 57,284
  • 10
  • 68
  • 103
MaksNeon
  • 15
  • 3
  • 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 Answers2

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
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
  • What happens when you type "python" and press enter? – CForce99 Oct 27 '20 at 12:15
  • 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