kitti2bag,py 报错

python kitti2bag.py -t 2011_09_30 -r 0028 raw_synced
Could not load module 'pykitti'. Please run `pip install pykitti`
 python3 kitti2bag.py -t 2011_09_30 -r 0028 raw_synced
Traceback (most recent call last):
  File "kitti2bag.py", line 12, in <module>
    import tf
  File "/opt/ros/melodic/lib/python2.7/dist-packages/tf/__init__.py", line 30, in <module>
    from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException
  File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_ros/__init__.py", line 38, in <module>
    from tf2_py import *
  File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_py/__init__.py", line 38, in <module>
    from ._tf2 import *
ImportError: dynamic module does not define module export function (PyInit__tf2)
pip install pykitti
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pykitti in /home/nico/.local/lib/python3.6/site-packages (0.3.1)
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (from pykitti) (1.13.3)
Requirement already satisfied: pandas in /usr/lib/python3/dist-packages (from pykitti) (0.22.0)
Requirement already satisfied: Pillow in /usr/lib/python3/dist-packages (from pykitti) (5.1.0)
Requirement already satisfied: matplotlib in /usr/lib/python3/dist-packages (from pykitti) (2.1.1)

pip2 install pykitti
之后可正常运行

pip2 install pykitti
Collecting pykitti
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Downloading https://files.pythonhosted.org/packages/c3/7e/e2b71b9221ccb8503dce9673e3cb36edcdc314ec374f9e69e6d38ed1abde/pykitti-0.3.1-py2.py3-none-any.whl
Collecting numpy (from pykitti)
  Using cached https://files.pythonhosted.org/packages/3a/5f/47e578b3ae79e2624e205445ab77a1848acdaa2929a00eeef6b16eaaeb20/numpy-1.16.6-cp27-cp27mu-manylinux1_x86_64.whl
Collecting pandas (from pykitti)
  Using cached https://files.pythonhosted.org/packages/db/83/7d4008ffc2988066ff37f6a0bb6d7b60822367dcb36ba5e39aa7801fda54/pandas-0.24.2-cp27-cp27mu-manylinux1_x86_64.whl
Collecting Pillow (from pykitti)
  Using cached https://files.pythonhosted.org/packages/12/ad/61f8dfba88c4e56196bf6d056cdbba64dc9c5dfdfbc97d02e6472feed913/Pillow-6.2.2-cp27-cp27mu-manylinux1_x86_64.whl
Collecting matplotlib (from pykitti)
  Using cached https://files.pythonhosted.org/packages/9d/40/5ba7d4a3f80d39d409f21899972596bf62c8606f1406a825029649eaa439/matplotlib-2.2.5-cp27-cp27mu-manylinux1_x86_64.whl
Collecting pytz>=2011k (from pandas->pykitti)
  Downloading https://files.pythonhosted.org/packages/9c/3d/a121f284241f08268b21359bd425f7d4825cffc5ac5cd0e1b3d82ffd2b10/pytz-2024.1-py2.py3-none-any.whl (505kB)
    100% |████████████████████████████████| 512kB 24kB/s 
Collecting python-dateutil>=2.5.0 (from pandas->pykitti)
  Downloading https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229kB)
    100% |████████████████████████████████| 235kB 29kB/s 
Collecting cycler>=0.10 (from matplotlib->pykitti)
  Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Collecting backports.functools-lru-cache (from matplotlib->pykitti)
  Using cached https://files.pythonhosted.org/packages/08/e3/1387bd1c9aa95e354064ee29b8a1dfd3e795b066cc869af8f8d6b70ae4aa/backports.functools_lru_cache-1.6.6-py2.py3-none-any.whl
Collecting subprocess32 (from matplotlib->pykitti)
Collecting kiwisolver>=1.0.1 (from matplotlib->pykitti)
  Using cached https://files.pythonhosted.org/packages/3d/78/cb9248b2289ec31e301137cedbe4ca503a74ca87f88cdbfd2f8be52323bf/kiwisolver-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl
Collecting six>=1.10 (from matplotlib->pykitti)
  Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib->pykitti)
  Using cached https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl
Collecting setuptools (from kiwisolver>=1.0.1->matplotlib->pykitti)
  Cache entry deserialization failed, entry ignored
  Using cached https://files.pythonhosted.org/packages/e1/b7/182161210a13158cd3ccc41ee19aadef54496b74f2817cc147006ec932b4/setuptools-44.1.1-py2.py3-none-any.whl
Installing collected packages: numpy, pytz, six, python-dateutil, pandas, Pillow, cycler, backports.functools-lru-cache, subprocess32, setuptools, kiwisolver, pyparsing, matplotlib, pykitti
Successfully installed Pillow-6.2.2 backports.functools-lru-cache-1.6.6 cycler-0.10.0 kiwisolver-1.1.0 matplotlib-2.2.5 numpy-1.16.6 pandas-0.24.2 pykitti-0.3.1 pyparsing-2.4.7 python-dateutil-2.9.0.post0 pytz-2024.1 setuptools-44.1.1 six-1.16.0 subprocess32-3.5.4

相关推荐

  1. kitti2bag,py

    2024-04-23 10:36:03       60 阅读
  2. vue2使用elementUI

    2024-04-23 10:36:03       114 阅读
  3. torchdata pytorch2.3

    2024-04-23 10:36:03       28 阅读
  4. 服务器升级Nacos2.2.3、rocksdb问题处理

    2024-04-23 10:36:03       27 阅读
  5. 【DB2】运行preprpnode的时候

    2024-04-23 10:36:03       53 阅读
  6. python 安装 cv2 conda install PackagesNotFoundError

    2024-04-23 10:36:03       68 阅读
  7. 在SpringBoot 3.2.1中使用JPA

    2024-04-23 10:36:03       66 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-23 10:36:03       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-23 10:36:03       100 阅读
  3. 在Django里面运行非项目文件

    2024-04-23 10:36:03       82 阅读
  4. Python语言-面向对象

    2024-04-23 10:36:03       91 阅读

热门阅读

  1. P8739 [蓝桥杯 2020 国 C] 重复字符串

    2024-04-23 10:36:03       32 阅读
  2. hive通过正则过滤其他字段

    2024-04-23 10:36:03       39 阅读
  3. 数学分析复习:洛必达法则、泰勒公式

    2024-04-23 10:36:03       40 阅读
  4. AntD上传文件 结合Axios 服务端由Spring MVC接收

    2024-04-23 10:36:03       32 阅读
  5. Hive第二篇HQL

    2024-04-23 10:36:03       37 阅读
  6. Hive第一篇简介

    2024-04-23 10:36:03       30 阅读
  7. 7、docker 集群

    2024-04-23 10:36:03       36 阅读
  8. 数仓建模—维度建模之维度表

    2024-04-23 10:36:03       39 阅读
  9. VaR模型

    2024-04-23 10:36:03       30 阅读
  10. Docker搭建htpcmanager

    2024-04-23 10:36:03       38 阅读