• Register
0 votes
11 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 win32
Type "help", "copyright", "credits" or "license" for more information.

But when I restarted my system and again i run the command 

python

but it shows me 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.

10 7 2
6,050 points

1 Answer

0 votes

Answer:

To solve your problem please follow this steps:

1. Firstly navigate to "Control Panel" then "System"
2. Click on "Advanced system settings" on the left
3. Click on "Environment Variables"
4. Then search and click on your "Path" variable
5. Then click "Edit"
6. Then you must add "C:\"to the environment variables field, if you are using Windows7, then 
   separate it by a semicolon from the existing entry. If you are using Windows10, just simply click 
   "New" to add.
7. Reopen the Command Prompt and try to add your new path

If it is confusing to your or it is still not working let me know in the comments.

11 6 4
34,930 points

Related questions

1 vote
2 answers 36 views
36 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 samhaz 5k points
0 votes
1 answer 51 views
51 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 LizzyM 6.1k points
1 vote
1 answer 578 views
578 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 samhaz 5k points
2 votes
2 answers 5.1K views
5.1K 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 mphil 2.3k points
0 votes
1 answer 125 views
125 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