Skip to content
New issue

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

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

Already on GitHub? # to your account

ModuleNotFoundError for Rospy --> Roscpp>=1.15.11 #76

Open
mattiskoh opened this issue May 27, 2024 · 0 comments
Open

ModuleNotFoundError for Rospy --> Roscpp>=1.15.11 #76

mattiskoh opened this issue May 27, 2024 · 0 comments

Comments

@mattiskoh
Copy link

Problem & Diagnosis

Our Github Actions started to fail as of last week due to: ModuleNotFoundError: No module named 'roscpp.srv' when importing rospy.

To confirm I also tested this with a new local virtualenv by installing pip install --extra-index-url https://rospypi.github.io/simple/ rospy roscpp which also leads to the same error.

We've had to revert to roscpp==1.15.7.post0 for it to work again.

Solution:

pip install --extra-index-url https://rospypi.github.io/simple/ rospy roscpp==1.15.7.post0

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

No branches or pull requests

1 participant