Everything went well while I was trying to create a ros 2 package in Ubuntu 22.04 by following the ros2 documentation, however when I got to the colcon build step, it failed for python packages even though it works for cMake packages. What should I do? 1 package failed: pythonpkg 1 package had stderr output: pythonpkg

python3 --version
Python 3.10.6
New contributor
ma r is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • $\begingroup$ This question doesn't have enough information to be able to reproduce or diagnose your issue. Please edit it to provide enough detail to be able to fully reproduce your setup and workspace. Include the full installation and setup description as well as the environment setup so we can try to understand what you're doing and what you expect and why it's not achieving what you expect. $\endgroup$
    – Tully
    Jan 25 at 3:56


Your Answer

ma r is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.