Linked Questions
19 questions linked to/from Python command not working in command prompt
280 votes
24 answers
474k views
How to run multiple Python versions on Windows
I had two versions of Python installed on my machine (versions 2.6 and 2.5). I want to run 2.6 for one project and 2.5 for another. How can I specify which I want to use? I am working on Windows XP ...
-2 votes
2 answers
2k views
Running .py file in command line give an error [duplicate]
I am windows 64bit user. I use python3 installed via Anaconda package. I am trying to run python script through command prompt and Git bash but I keep getting error while running .py file. Type of ...
-2 votes
1 answer
748 views
Version of Python not showing on cmd [duplicate]
I have already installed Python in my laptop (x64). I am also trying to install pip (termed as Python Package Index (PyPI)) and it is working when I run the command pip -V which displays the version ...
0 votes
2 answers
719 views
Can't run python program from command prompt even though python 3.9 is installed [duplicate]
Command prompt I tried to run this python code: #two brown number are an ordered pair in the form (m; n) such that n!+1=m^2 from math import factorial as fact m=2 n=2 for i in range(10**2): # range of ...
-3 votes
1 answer
371 views
Pip version can't be displayed from cmd terminal [duplicate]
Sorry for the simple question (I am brand new to this) I'm currently using Python 3.7. It came with pip installed automatically but I am unable to get it to display the current version from CMD (I ...
427 votes
15 answers
455k views
CMD opens Windows Store when I type 'python'
Today when I tried to run simple code on Sublime Text 3, the following message appeared: Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=...
14 votes
8 answers
208k views
Python 3.9 pip install
I recently downloaded and installed Python 3.9 because I wanted to run a website scraper to more easily organize recipes found online. However, when I try to run pip it says it doesn't recognize it (...
13 votes
2 answers
48k views
How can I add python to cmd in windows [closed]
I have python 3.1 installed, and I have added it to the system path too. Now I can open "cmd" and type python to start python, but whenever I try to open cmd in a specific directory by using (shift + ...
4 votes
1 answer
15k views
Python Version is not getting displayed in Command Prompt
I downloaded the recent version of python(3.8.3) and selected the 'ADD TO PATH' prompt during setup and it was successfully completed(I checked by running the python.exe file in the source folder) but ...
0 votes
4 answers
5k views
python --version not working on Windows command prompt but installed
there I'm trying to install pip and have begun by installing python. I've installed python via an exe. However when I do basic things such as checking the version it says not found. I can run python ...
0 votes
2 answers
4k views
can't run python in powershell
Sorry about the chinese character in this picture. It basicly mean "this is no such program" when I try to run command "python" in powershell。 But it works when I run "python....
0 votes
1 answer
2k views
Python 3.10.6(64 bit) PATH
I've just installed python 3.10.6 and checked the box "Add python to your path" and now when I open the cmd to check for python availability , I got python not found. "Python was not ...
1 vote
0 answers
1k views
Installed Python script doesn't run in Windows
I have a Python library which includes some scripts that are installed during setup (python setup.py install). I've installed the library in a Conda environment. The script is installed using the ...
0 votes
1 answer
508 views
Python not recognised as command
I know that I need to add Python to my PATH and I've tried to add it by copy and pasting its address C:\Users\aiden\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.6 to my PATH, but ...
0 votes
0 answers
583 views
Can't compile cpp and python file in vs code
I can compile and see the result from cpp file in vs code. But, but when I try compile python file by pressing Ctrl+Alt+N I can't see the result. I can see result only with right click and choosing ...