ModuleNotFoundError: No module named 'catkin_pkg'
遇到报错:
ModuleNotFoundError: No module named 'catkin_pkg'
execute_process(D:/ProgramData/Anaconda3/python.exe
执行程序为什么会指向conda下的python版本,而没有用为ros2安装的默认python3.8.3版本呢?
在官方humble-windows安装流程中,catkin_pkg已安装于python3.8.3下了:
python -m pip install -U catkin_pkg cryptography empy importlib-metadata lark==1.1.1 lxml matplotlib netifaces numpy opencv-python PyQt5 pillow psutil pycairo pydot pyparsing==2.4.7 pyyaml rosdistro
ModuleNotFoundError: No module named 'catkin_pkg'
CMake Error at C:/dev/ros2_humble/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:95 (message):
execute_process(D:/ProgramData/Anaconda3/python.exe
C:/dev/ros2_humble/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py
ModuleNotFoundError: No module named 'catkin_pkg'
execute_process(D:/ProgramData/Anaconda3/python.exe
执行程序为什么会指向conda下的python版本,而没有用为ros2安装的默认python3.8.3版本呢?
在官方humble-windows安装流程中,catkin_pkg已安装于python3.8.3下了:
python -m pip install -U catkin_pkg cryptography empy importlib-metadata lark==1.1.1 lxml matplotlib netifaces numpy opencv-python PyQt5 pillow psutil pycairo pydot pyparsing==2.4.7 pyyaml rosdistro
ModuleNotFoundError: No module named 'catkin_pkg'
CMake Error at C:/dev/ros2_humble/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:95 (message):
execute_process(D:/ProgramData/Anaconda3/python.exe
C:/dev/ros2_humble/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py
1 个回复
ncnynl
赞同来自: