The computer knows the path of a file through the path environment variable. If the path is not known to the computer, Windows will not run the program and display an error message. But, when we use the command prompt to access the file, the path may or may not be known to the computer. When we accessed the Python executable file by going directly to its location, we followed the file's path, which eliminated the possibility of error. The computer reads this location as the ‘path’ of the file. Whenever we access any file or an installed program, our computer needs to know the entire location of the place where the file is stored. But in some cases, an error might occur as follows. The steps of this method are as follows:ġ) Open the command prompt through the search tab of Windows.įollowing this step, the Python IDE opens in the same window. The second method to access Python is through the command prompt. Performing this task opens the IDE of Python, where you can code hassle-free. The screenshot shows how you can locate the downloaded executable file and open Python. The first method to access Python on your computer is to follow the path of the installed software and access the executable file directly. This article will guide you through the causes of this error and how you can fix it. For Windows users, the most common error displayed on your computer screen can be “Python is not recognized as an internal or external command.” Python is the most fundamental programming language to learn, but you may experience some errors while installing the Python setup. Apart from good logical thinking skills, you need successfully installed software to excel in this field. Programming has become the most prominent technological course to be learned.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |