I ran into this same issue on Windows 10. Here’s how I fixed it:
- Open your ‘Environment Variables‘ (Under ‘System Properties‘).
- In the window that opens, select the ‘Path‘ row, then click the ‘Edit…‘ button.
- There should be two environment variables
C:\Python37-32\Scripts\
andC:\Python37-32\
Then click ‘OK‘ (Make sure to check that these path values correspond to the location and version of your Python install.) - Next, in the top portion of the ‘Environment Variables‘ window, look for the
PYTHONHOME
variable and make sure that it is also set toC:\Python37-32