OpenPCDet运行demo问题总结

安装numpy时出现:
requires protobuf<=4.0.0,>=3.1.0, but you have protobuf 4.23.4 which is incompatible.
解决方法:

卸载protobuf  

pip uninstall protobuf

出现下面问题:

-----------------------------------------------------------------------------------------

DEPRECATION: distro-info 0.23ubuntu1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of distro-info or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
DEPRECATION: gpg 1.13.1-unknown has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of gpg or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
DEPRECATION: python-debian 0.1.36ubuntu1 has a non-standard version number. pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of python-debian or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
-----------------------------------------------------------------------------------------

卸载报错的依赖包

sudo apt-get remove --auto-remove python3-debian

sudo apt-get remove --auto-remove python3-gpg

sudo apt-get remove --auto-remove python3-distro-info

出现这个错误:ImportError: numpy.core.multiarray failed to import
是因为有两个numpy

最新的语法有变化,卸载最新的:

pip uninstall numpy

出现这个问题:ModuleNotFoundError: No module named 'av2'
是因为没有av2的包,安装即可

pip install av2

出现这个问题:ModuleNotFoundError: No module named 'kornia'

是因为没有kornia的包,安装即可

pip3 install kornia

demo.py: error: unrecognized arguments: kitti/kitti mini data object  veloyne/training/velodyne/000000.bin

这个问题是因为路径里面有空格,去掉空格即可
 

你可能感兴趣的:(python)