我无法安装p4python
我尝试在virtualenv中使用pip安装p4python,但出现如下所示的大错误: 我也尝试下载tar.gz文件并使用pip手动安装,但无法正常工作。 我的setuptools也是最新的。
pip安装p4python
收集p4python 使用缓存的https://files.pythonhosted.org/packages/36/5a/0a1b192cdecd31cb8bc0d0ba39c73ffd84ce823053d0004823a1fdbe1440/p4python-2018.2.1743033.tar.gz
ERROR: Complete output from command python setup.py egg_info:
ERROR: Attempting to load API from ftp.perforce.com
Loaded API into None
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-hncb67dv/p4python/setup.py", line 315, in <module>
do_setup(p4_api_dir, ssl)
File "/tmp/pip-install-hncb67dv/p4python/setup.py", line 104, in do_setup
apiVersion = VersionInfo(p4_api_dir)
File "/tmp/pip-install-hncb67dv/p4python/tools/VersionInfo.py", line 26, in __init__
verFile = os.path.join(p4ApiDir, "sample", "Version")
File "/root/ve_hfr/lib64/python3.4/posixpath.py", line 82, in join
path += b
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
----------------------------------------
错误:/ tmp / pip-install-hncb67dv / p4python /
中的命令“ python setup.py egg_info”失败,错误代码为1