我正在anaconda spyder上安装python pcl,使用:
pip install python-pcl
我得到以下错误:
pip download python-pcl Collecting python-pcl Using cached
https://files.pythonhosted.org/packages/8c/78/372264333493d53cf2cfc7427df3eb752a6cdf5b9f8ee7b53bc30780401d/python-pcl-0.3.0a1.tar.gz
Saved c:\users\user\python-pcl-0.3.0a1.tar.gz Note: you may need to
restart the kernel to use updated packages.
ERROR: Command errored out with exit status 1:
command: 'C:\Users\User\Anaconda3\pythonw.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-download-k8kec2zi\\python-pcl\\setup.py'"'"';
__file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-download-k8kec2zi\\python-pcl\\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\User\AppData\Local\Temp\pip-download-k8kec2zi\python-pcl\
Complete output (13 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\User\AppData\Local\Temp\pip-download-k8kec2zi\python-pcl\setup.py",
line 154, in <module>
if subprocess.call(['.\\pkg-config\\pkg-config.exe', 'pcl_common%s' % pcl_version]) == 0:
File "C:\Users\User\Anaconda3\lib\subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\User\Anaconda3\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:\Users\User\Anaconda3\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
set environment PKG_CONFIG_PATH=C:\Program Files\PCL 1.6.0\3rdParty\FLANN\lib\pkgconfig;C:\Users\User\AppData\Local\Temp\pip-install-ymblybyd\python-pcl\pkg-config\pkg-config.exe;
C:\Users\User\AppData\Local\Temp\pip-download-k8kec2zi\python-pcl\pkg-config\pkg-config.exe
---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for
full command output.
python setup.py build_ext -i File "<ipython-input-5-745dc279dec0>",
line 1
python setup.py build_ext -i
^ SyntaxError: invalid syntax
python setup.py build_ext -i
我按照这个tutorial中的步骤安装所有路径等等。你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐