python setup.py egg_info did not run successfully. while installing pyhash

Viewed 47

pip is already upgraded setuptools is also upgraded Everything is working properly while installing through pip

But why this pyhash is throwing error i just have to install pip install pyhash and i got respected error

Collecting pyhash
  Using cached pyhash-0.9.3.tar.gz (602 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\varal\AppData\Local\Temp\pip-install-b_wq2nn5\pyhash_b5d95b6aaab44fc8b5beb9bea15f2ca6\setup.py", line 38, in <module>
          os.path.join(os.environ.get('PYTHON_HOME'), 'include'),
        File "C:\Users\varal\AppData\Local\Programs\Python\Python310\lib\ntpath.py", line 78, in join
          path = os.fspath(path)
      TypeError: expected str, bytes or os.PathLike object, not NoneType
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
PS C:\Users\varal>
0 Answers
Related