在 windows 上使用 pip 安装包 rdap 时出现环境错误
EnvironmentError when installing package rdap with pip on windows
我想根据 github here 中的说明安装模块 rdap
。我收到以下错误,在 cmd:
中使用命令 pip install rdap
Collecting rdap Using cached
https://files.pythonhosted.org/packages/76/8f/38ebde98eecf836c57727faccaef3b10be44ddfe9b2f5192b789e1792d89/rdap-0.5.0.tar.gz
Could not install packages due to an EnvironmentError: [WinError 267]
Nom de rÚpertoire non valide:
'C:\Users\AGENIS\AppData\Local\Temp\pip-install-n7gubvsj\rdap\Ctl/tmp/git@github.com:20c'
错误消息翻译为:“文件夹名称无效”(可能相当于没有这样的文件或目录..)
这是 IPython.sys_info()
的结果:
{'commit_hash': '8c47bbcb3',
'commit_source': 'installation',
'default_encoding': '1252',
'ipython_path': 'C:\Users\AGENIS\Anaconda3\envs\python_35_for_rdap\lib\site-packages\IPython',
'ipython_version': '7.5.0',
'os_name': 'nt',
'platform': 'Windows-10-10.0.17134-SP0',
'sys_executable': 'C:\Users\AGENIS\Anaconda3\envs\python_35_for_rdap\python.exe',
'sys_platform': 'win32',
'sys_version': '3.5.6 |Anaconda, Inc.| (default, Aug 26 2018, 16:05:27) [MSC '
'v.1900 64 bit (AMD64)]'}
我不明白这个错误是怎么回事。我是我电脑的管理员。我可以成功安装任何其他软件包而不会出错。
编辑:这是一个错误,已在包版本 0.5.2.1
中报告并修复
存档 rdap-0.5.0.tar.gz
包含一个子目录 rdap-0.5.0/Ctl/tmp/git@github.com:20c/
。该名称无效,因为它包含 :
— w32 中的禁止字符(因为 C:
)。
这是包中的错误。请在 https://github.com/20c/rdap/issues.
举报
我想根据 github here 中的说明安装模块 rdap
。我收到以下错误,在 cmd:
pip install rdap
Collecting rdap Using cached https://files.pythonhosted.org/packages/76/8f/38ebde98eecf836c57727faccaef3b10be44ddfe9b2f5192b789e1792d89/rdap-0.5.0.tar.gz
Could not install packages due to an EnvironmentError: [WinError 267] Nom de rÚpertoire non valide: 'C:\Users\AGENIS\AppData\Local\Temp\pip-install-n7gubvsj\rdap\Ctl/tmp/git@github.com:20c'
错误消息翻译为:“文件夹名称无效”(可能相当于没有这样的文件或目录..)
这是 IPython.sys_info()
的结果:
{'commit_hash': '8c47bbcb3',
'commit_source': 'installation',
'default_encoding': '1252',
'ipython_path': 'C:\Users\AGENIS\Anaconda3\envs\python_35_for_rdap\lib\site-packages\IPython',
'ipython_version': '7.5.0',
'os_name': 'nt',
'platform': 'Windows-10-10.0.17134-SP0',
'sys_executable': 'C:\Users\AGENIS\Anaconda3\envs\python_35_for_rdap\python.exe',
'sys_platform': 'win32',
'sys_version': '3.5.6 |Anaconda, Inc.| (default, Aug 26 2018, 16:05:27) [MSC '
'v.1900 64 bit (AMD64)]'}
我不明白这个错误是怎么回事。我是我电脑的管理员。我可以成功安装任何其他软件包而不会出错。
编辑:这是一个错误,已在包版本 0.5.2.1
中报告并修复存档 rdap-0.5.0.tar.gz
包含一个子目录 rdap-0.5.0/Ctl/tmp/git@github.com:20c/
。该名称无效,因为它包含 :
— w32 中的禁止字符(因为 C:
)。
这是包中的错误。请在 https://github.com/20c/rdap/issues.
举报