遇到一个问题折腾很久,记录一下.
环境:ubuntu20.0 python3.8
起因是想运行这个开源代码
https://github.com/Derek-TH-Wang/quadruped_ctrl
但发现找不的pcl.
然后用conda想按照pcl,常用命令,无非就是conda install -c xx python-pcl.
后来在anaconda-navigator中也看到已经安装有pcl了
但就是import pcl 说找不到
后来用各种命令尝试:
conda install -c sirokujira python-pcl --channel conda-forge
也都不行.
不知为何时,突然注意到提示信息:
$ conda install -c sirokujira python-pcl --channel conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- python-pcl -> python[version='>=2.7,<2.8.0a0|>