gpt4 book ai didi

python-3.x - pyhash模块无法用pip安装

转载 作者:行者123 更新时间:2023-12-05 07:19:31 32 4
gpt4 key购买 nike

我正在尝试使用以下命令安装模块 pyhash :

pip安装pyhash

但是,我得到以下信息:

ERROR: Command errored out with exit status 1:
command: 'c:\users\ver\appdata\local\programs\python\python36\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\VER\\AppData\\Local\\Temp\\pip-install-a6et1ql6\\pyhash\\setup.py'"'"'; __file__='"'"'C:\\Users\\VER\\AppData\\Local\\Temp\\pip-install-a6et1ql6\\pyhash\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: C:\Users\VER\AppData\Local\Temp\pip-install-a6et1ql6\pyhash\
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\VER\AppData\Local\Temp\pip-install-a6et1ql6\pyhash\setup.py", line 38, in <module>
os.path.join(os.environ.get('PYTHON_HOME'), 'include'),
File "c:\users\ver\appdata\local\programs\python\python36\lib\ntpath.py", line 76, in join
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not NoneType
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

最佳答案

尝试从他们的 Pypi 安装它,它将被安装。

关于python-3.x - pyhash模块无法用pip安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57741107/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com