我想根据githubhere中的说明安装模块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\FLEURDA\AppData\Local\Temp\pip-install-n7gubvsj\rdap\Ctl/tmp/git@github.com:20c'
错误消息翻译为:“文件夹名称无效”(prob。相当于没有这样的文件或目录..)
以下是IPython.sys_info()
的结果:
{'commit_hash': '8c47bbcb3',
'commit_source': 'installation',
'default_encoding': '1252',
'ipython_path': 'C:\\Users\\FLEURDA\\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\\FLEURDA\\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)]'}
我不明白这个错误是怎么回事。我是电脑管理员。我可以成功地安装任何其他包没有错误。你知道吗
编辑:这是一个bug,在包版本0.5.2.1中报告并修复
存档
rdap-0.5.0.tar.gz
包含一个子目录rdap-0.5.0/Ctl/tmp/git@github.com:20c/
。名称无效,因为它包含:
—w32中禁止使用的字符(因为C:
)。你知道吗这是程序包中的一个bug。请在https://github.com/20c/rdap/issues报到。你知道吗
相关问题 更多 >
编程相关推荐