-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
While building a ros2 package encountering python3 not found error #160
Comments
Can you try with “What to do if I have Python-related problems during the build of custom messages?" question in https://robostack.github.io/FAQ.html ? |
Feel free to reopen if it’s still an issue |
Thanks for the quick update, but still encountering the same error. |
Are you encountering the same error of the original post or the new error you are reporting? |
@traversaro I'm encountering the same error |
You are installing packages from robostack-humble, can you follow the instructions on the website and use the robostack-staging channel? |
@traversaro I have used this https://robostack.github.io/GettingStarted.html as ref for installing. |
Those instructions refer to robostack-staging channel, that is not the one reported in mamba list. |
I’m quite certain that the description in the FAQ fixes this - please follow the instructions carefully. |
I'm having the same problem. Followed the instructions in the FAQ, it works for $ colcon build --cmake-args="-DPython_EXECUTABLE=$CONDA_PREFIX/bin/python -DPython3_EXECUTABLE=$CONDA_PREFIX/bin/python -DPYTHON_EXECUTABLE=$CONDA_PREFIX/bin/python -DPython3_FIND_STRATEGY=LOCATION -DPython_FIND_STRATEGY=LOCATION"
...
CMake Error at /opt/homebrew/Caskroom/miniconda/base/envs/ros2/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy) (found
version "3.12.2")
... $ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DPython_EXECUTABLE=/opt/homebrew/Caskroom/miniconda/base/envs/ros2/bin/python -DPython3_EXECUTABLE=/opt/homebrew/Caskroom/miniconda/base/envs/ros2/bin/python -DPYTHON_EXECUTABLE=/opt/homebrew/Caskroom/miniconda/base/envs/ros2/bin/python -DPython3_FIND_STRATEGY=LOCATION -DPython_FIND_STRATEGY=LOCATION
...
success Please help, thank you! |
Hi @etherswangel - please open a new issue and provide all the requested information :) |
Solution to issue cannot be found in the documentation.
Issue
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: