• Register
1 vote
22 views

Problem:

I was about to start the python programming. Completed install everything needed but thee CMD encountered an error py is not recognized as an internal.
How to solve this problem? Could any of you please solve the problem and let me start learning?
Thanks, guys.

12 7 7
15,250 points

Please log in or register to answer this question.

1 Answer

1 vote

Solution:

The “Python is not recognized as an internal or external command” error is encountered when python’s executable file is not found in an environment variable. As a result windows CMD python command returns the error.

→  Find a folder with the installed Python version as its name in C:\Program Files\Python36(Assuming you are running a Windows OS)

→  Open this folder and copy its path.

→ Right-click This PC, then go to Properties => Advanced system settings => Environment variables.

→ In the window that appears when a path variable exists, select it, ​and click Edit; otherwise, click New.

→ In the next dialogue box, click on New and paste the previously copied path of the folder; then, click OK.

13 9 6
94,240 points

Related questions

0 votes
2 answers 60 views
60 views
Hello colleagues, I really want to know How To Solve 'python' is not recognized as an internal or external command, operable program or batch file error. Thanks
asked Oct 23, 2020 psandprop 2.4k points
1 vote
2 answers 52 views
52 views
Problem: I have set up the django in my system & I have started my project. I am using the atom IDE. Here is my models.py file of django project from django.db import models from django.contrib.auth.models import AbstractBaseUser from django.contrib.auth. ... is not recognized as an internal or external command, operable program or batch file. Is there any problem with my code or environment?
asked May 15, 2020 samhaz 5k points
1 vote
1 answer 1.5K views
1.5K views
Problem: I installed flask in my system by running the command: pip install flask Collecting flask Downloading https://files.pythonhosted.org/packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl (94kB) |████████████████████████████████| ... operable program or batch file. Whats the problem running this can any one tell me? Thanks in advance.
asked May 12, 2020 samhaz 5k points
0 votes
1 answer 14 views
14 views
Problem: I am new to programming language. Yesterday I installed python in system. I went to my command prompmt and run the command : python and it shows: Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 01:54:44) [MSC v.1916 64 bit (AMD64)] on ... a different output : python' is not recognized as an internal or external command, operable program or batch file Why am I seeig this , Please help.
asked Mar 22, 2020 LizzyM 6.1k points
0 votes
1 answer 95 views
95 views
I am new to python programming. I am using atom IDE or atom editor for my python programs but every time I try to run a code or a script from my atom editor it gives me an error like : atom 'python' is not recognized as an internal or external command, operable ... and atom for 64 bit windows. Can anyone figure out what the problem really is and how can I solve this problem and run my code.
asked Mar 10, 2020 LizzyM 6.1k points
2 votes
2 answers 8.7K views
8.7K views
Problem : I am very new to Jupyter. I have already installed the Jupyter on my PC. My Configuration is as follows: Windows 10, python 3.x I used below command to install Jupyter. $ pip install jupyter The installation process completed without any issues. But ... “'jupyter' is not recognized as an internal or external command, operable program or batch file.” How to fix above error?
asked Feb 13, 2020 mphil 2.3k points
0 votes
1 answer 269 views
269 views
Problem : Today I ran into a weird error trying to install Django as follows 'pip3' is not recognized as an internal or external command, operable program or batch file.
asked Nov 15, 2019 peterlaw 6.9k points
0 votes
1 answer 156 views
156 views
Problem : I have recently installed the Anaconda 3 4.4.0, 32 bit on my Windows 7 Professional machine and also imported NumPy and Pandas on Jupyter notebook but facing following issue 'conda' is not recognized as an internal or external command, operable program or batch file.
asked Nov 14, 2019 peterlaw 6.9k points
0 votes
1 answer 45 views
45 views
Problem: I was updating pandas (on windows 7) using: conda update pandas Accidentally closed the command window while updating. Now I cannot start spyder, and if I type conda in the command line, I get: "conda is not recognized as an internal or external command ... get from PyQt5.Qtwidgets import * importerror: DLL load failed: The specific module could not be found Any ideas how to solve this?
asked Dec 6, 2020 sasha 12.9k points
0 votes
1 answer 5 views
5 views
Problem: 'ng' is not recognized as an internal or external command, operable program or batch file. What am i doing wrong?
asked 2 days ago Umar Ahmad 2.1k points