无法下载pyhash

2024-06-25 05:36:11 发布

您现在位置:Python中文网/ 问答频道 /正文

我尝试在windows命令提示符下使用命令pip install pyhash下载pyhash。这是我得到的错误:

    Complete output (7 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\User\AppData\Local\Temp\pip-install-jaqtmq3t\pyhash_d67e02ac8dd9487ca69d147031402003\setup.py", line 38, in <module>
    os.path.join(os.environ.get('PYTHON_HOME'), 'include'),
  File "c:\users\user\appdata\local\programs\python\python39\lib\ntpath.py", line 76, in join
    path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not NoneType

错误:命令出错,退出状态为1:python setup.py egg_info检查日志以获得完整的命令输出

我已经下载了最新版本的pip和setuptools。请帮帮我,我是python新手,知道的不多


Tags: installpippathinpy命令oswindows