Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'rospkg.os_detect' #6

Open
wqqhao123 opened this issue Dec 11, 2023 · 0 comments
Open

No module named 'rospkg.os_detect' #6

wqqhao123 opened this issue Dec 11, 2023 · 0 comments

Comments

@wqqhao123
Copy link

wqqhao123 commented Dec 11, 2023

Ubuntu20.04
wget -c https://raw.githubusercontent.com/qboticslabs/ros_install_noetic/master/ros_install_noetic.sh && chmod +x ./ros_install_noetic.sh && ./ros_install_noetic.sh
####################################################

{Step 6: Setting ROS Environment, This will add ROS environment to .bashrc.}
{ After adding this, you can able to access ROS commands in terminal}

Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-rosinstall is already the newest version (0.7.8-4).
python3-wstool is already the newest version (0.1.18-2).
build-essential is already the newest version (12.8ubuntu1.1).
python3-rosdep is already the newest version (0.22.2-1).
python3-rosinstall-generator is already the newest version (0.1.23-1).
0 upgraded, 0 newly installed, 0 to remove and 182 not upgraded.
Traceback (most recent call last):
File "/usr/bin/rosdep", line 33, in
sys.exit(load_entry_point('rosdep==0.22.2', 'console_scripts', 'rosdep')())
File "/usr/bin/rosdep", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 961, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/rosdep2/init.py", line 40, in
from .installers import InstallerContext, Installer,
File "/usr/lib/python3/dist-packages/rosdep2/installers.py", line 36, in
from rospkg.os_detect import OsDetect
ModuleNotFoundError: No module named 'rospkg.os_detect'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant