python-pcl
python-pcl copied to clipboard
setup.py: error: cannot find PCL, tried
<setup.py: error: cannot find PCL, tried>
My Environment
- Operating System and version: Ubuntu16.04
- PCL Version: pcl-1.10
I have error after I input 'python setup.py build_ext',it shows: setup.py: error: cannot find PCL, tried pkg-config pcl_common-1.9 pkg-config pcl_common-1.8 pkg-config pcl_common-1.7 pkg-config pcl_common-1.6 pkg-config pcl_common
Hi, I have the same question, and it seems that the lastest version of PCL is 1.10, but the avaliabel version used to install python-pcl is only 1.6 - 1.9. Are you installing PCL with [sudo apt get install libpcl-dev] ? If so, maybe you need to installl PCL with the right version.
But I just don't know how to install PCL with version 1.9. Install it form the source code ?
To lucy-yang1993's question Your problem is just like xiaoli1368 say, u need to install the PCL ver in 1.6~1.9 But if you still wanted to install newer version, you need to change a lot in setup.py e.g. PCL_SUPPORTED = ["-1.9", "-1.8", "-1.7", "-1.6", ""] become PCL_SUPPORTED = ["-1.10", "-1.9", "-1.8", "-1.7", "-1.6", ""]
e.g. elif pcl_version == '-1.8': ... elif pcl_version == '-1.9': else:... become elif pcl_version == '-1.8': ... elif pcl_version == '-1.9': ... elif pcl_version == '-1.10': else:...
and others corresponding part
Note that the code relative to the 3rd party version may need to change as well. Like PCL 1.11 using VTK 8.2 not 8.1 So... If u want to install quickly in linux, using PCL-1.6~1.9 is better choice.
To xiaoli1368' question,
If u install just by sudo apt get install libpcl-dev
and not using other *.deb or *.ppa
I think the version is 1.7
So, if you want to install 1.9 u need to using another src
e.g: https://launchpad.net/ubuntu/eoan/amd64/libpcl-dev/1.9.1+dfsg1-10ubuntu2
or .... build from source code
same problem, brew install pcl
default version is newest 1.11
pip is < 1.9
so, can how can we install a 1.9 version PCL, directly use some commands?
I got the same problem. Does it mean that the PCL version has to be less than 1.9? Does it make any difference to macOS?