First error message
The output looks like the installation is failing because the setup script expects the PYTHON_HOME
environment variable to be set but it isn’t.
Try executing this in your shell before rerunning the pip install
command (in the same shell):
set PYTHON_HOME=c:\users\perei\appdata\local\programs\python\python38-32
Alternative: set PYTHON_HOME
permanently:
- open the Start menu and start typing “env”…, then click on “Edit the system environment variables (Control Panel)”
- click
New...
under “User variables for <user>” - under
Variable name
put “PYTHON_HOME” - under
Variable value
put the path to Python installation directory, in your case “c:\users\perei\appdata\local\programs\python\python38-32” - open a new instance of
cmd.exe
and retry thepip install
command
Second error message
The script fails while trying to build a wheel: error: invalid command 'bdist_wheel'
. Before failing it actually warns that The wheel package is not available.
. You just need to do pip install wheel
.
CLICK HERE to find out more related problems solutions.