i can’t install the pyhash module

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:

  1. open the Start menu and start typing “env”…, then click on “Edit the system environment variables (Control Panel)”
  2. click New... under “User variables for <user>”
  3. under Variable name put “PYTHON_HOME”
  4. under Variable value put the path to Python installation directory, in your case “c:\users\perei\appdata\local\programs\python\python38-32”
  5. open a new instance of cmd.exe and retry the pip 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.

Leave a Comment

Your email address will not be published.

Scroll to Top