You need to add the python executable path to your Window’s PATH variable.
- From the desktop, right-click My Computer and click Properties.
- In the System Properties window, click on the Advanced tab.
- In the Advanced section, click the Environment Variables button.
- Highlight the Path variable in the Systems Variable section and click the Edit button.
- Add the path of your python executable(
c:\Python27\
). Each different directory is separated with a semicolon. (Note: do not put spaces between elements in thePATH
. Your addition to thePATH
should read;c:\Python27
NOT; C\Python27
) - Apply the changes. You might need to restart your system, though simply restarting
cmd.exe
should be sufficient. - Launch cmd and try again. It should work.
Related Posts:
- ow can I find where Python is installed on Windows?
- Python virtualenv questions
- How to exit Python script in Command Prompt?
- Python command not working in command prompt
- PermissionError: [WinError 5] Access is denied python using moviepy to write gif
- PermissionError: [WinError 5] Access is denied python using moviepy to write gif
- Python not working in the command line of git bash
- ‘pip’ is not recognized as an internal or external command
- Difference between masm32 and masm?
- How do I start PowerShell from Windows Explorer?
- Tensorflow import error: No module named ‘tensorflow’
- A fatal error occurred while creating a TLS client credential. The internal error state is 10013
- How can I install pip on Windows?
- PermissionError: [Errno 13] Permission denied
- What does “@” mean in Windows batch scripts
- How to run a PowerShell script
- How do I install and use cURL on Windows?
- How to list files in windows using command prompt (cmd). I’ve tried using ‘ ls ‘ as in Linux but it shows an error?
- Setting Windows PowerShell environment variables
- anaconda – path environment variable in windows
- Create an empty file on the commandline in windows (like the linux touch command)
- How to remove anaconda from windows completely?
- How to solve “The directory is not empty” error when running rmdir command in a batch script?
- “X does not name a type” error in C++
- How do I create a Batch file to change an exe installer to Win XP SP3 compatibility mode and launch installer
- How to clear the interpreter console?
- Installing tensorflow with anaconda in windows
- error: Unable to find vcvarsall.bat
- error: Unable to find vcvarsall.bat
- how to open an mp3 file with c
- What languages are Windows, Mac OS X and Linux written in?
- How to run a makefile in Windows?
- How to run ‘sudo’ command in windows
- What is the ‘realtime’ process priority setting for?
- Verify return code: 20 when testing OpenSSL
- Command line for looking at specific port
- “OverflowError: Python int too large to convert to C long” on windows but not mac
- How to uninstall a Windows Service when there is no executable for it left on the system?
- What is the default password for Postgres
- “X does not name a type” error in C++
- Windows Activator .bat Text
- How To Activate Windows 10
- ‘npm’ is not recognized as internal or external command, operable program or batch file
- What is the difference between Cygwin and MinGW?
- No Module Named ‘_pywrap_tensorflow_internal’
- Text editor to open big (giant, huge, large) text files
- UnicodeDecodeError: ‘charmap’ codec can’t decode byte X in position Y: character maps to
- Using GNU Scientific Library (GSL) under Windows x64 with MinGW
- Xampp MySQL not starting – “Attempting to start MySQL service…”
- Python 3.2 Unable to import urllib2 (ImportError: No module named urllib2)
- Can’t start hostednetwork
- Npm Please try using this command again as root/administrator
- Choosing a Windows automation scripting language. AutoIt vs Autohotkey
- How to install PyQt5 on Windows?
- How to stop Python closing immediately when executed in Microsoft Windows
- sudo command not found on Cygwin
- Pip – Fatal error in launcher: Unable to create process using ‘”‘
- OpenSSL: PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE
- python pip on Windows – command ‘cl.exe’ failed
- python is not recognized windows 10
- What is Windows Fabric and how to host services in it?
- How to open an elevated cmd using command line for Windows?
- Setting up a cron job in Windows
- ImportError: No module named cv2
- ‘openssl’ is not recognized as internal or external command
- docker error : the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty’
- While loop in batch
- Error occurred during initialization of VM (java/lang/NoClassDefFoundError: java/lang/Object)
- How to get the text cursor position in Windows?
- How to grant permission to users for a directory using command line in Windows?
- Curl not recognized as an internal or external command, operable program or batch file
- Bridged networking not working in Virtualbox under Windows 10
- Is there a Pattern Matching Utility like GREP in Windows?
- How do you clear the console screen in C?
- What is %0|%0 and how does it work?
- How do I get the current username in Windows PowerShell?
- Can’t start hostednetwork
- How to know/change current directory in Python shell?
- False ‘Sharing Violation’ Xcopy error message
- OS x El capitan 10.11 – Virtualbox – Missing Bluetooth Controller Transport
- How does the echo command works in batch programming
- Visual Studio compiles but the exe isn’t there
- How to split large text file in windows?
- mysql community server vs mysql installer
- How do I use spaces in the Command Prompt?
- What is a Windows Handle?
- Error: Could not find or load main class net.minecraft.launchwrapper.Launch when launching Minecraft 1.12.2 with Forge
- Need auto-restart script in batch for minecraft server
- “Python version 2.7 required, which was not found in the registry” error when attempting to install netCDF4 on Windows 8
- Error: No module named ‘fcntl’
- How do I force Robocopy to overwrite files?
- Using sys/socket.h functions on windows
- The requested operation cannot be performed on a file with a user-mapped section open
- How to set commands output as a variable in a batch file
- HyperV is not available on Home editions
- Unable to start MySQL server
- Git Bash doesn’t see my PATH
- Dependency Walker: missing dlls
- How do I execute a *.dll file
- Best practice for exiting batch file?