Why so I get Error using ros.internal.ROSProjectBuilder/buildPackage Error building package?
7 views (last 30 days)
Show older comments
I am using Ubuntu 18.04 and MATLAB R2022a. This is my error message:![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/990375/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/990375/image.png)
This is the beginning of the Build Log :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/990380/image.png)
1 Comment
Jagadeesh Konakalla
on 9 May 2022
Hi,
Can you please attache the entire log to further assit you on this issue ?
Thanks,
Jagadeesh K
Answers (1)
Hari Krishna Kakarla
on 17 May 2022
Moved: Remo Pillat
on 24 Jan 2023
Hi Christina,
Based on the attached build log, I see that python virtual environment is not created properly.
Please check pyenv in your system. Ensure that you are using Python 3.9.
Then do the re-creation of python virtual environment:
ros.internal.createOrGetLocalPython(true);
Then execute rosgenmsg. If the issue still persists, please attach the complete build log.
Thanks
Hari
0 Comments
See Also
Categories
Find more on Publishers and Subscribers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!