-
Notifications
You must be signed in to change notification settings - Fork 89
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
colcon build keeps erroring #450
Comments
Hello, |
I've tried both, python3.10.0 and python3.8.3. |
Please post the output of the colcon command. Thank you. |
this is the ouput: c:\sick_scan_ws>colcon build --packages-select sick_scan_xd --cmake-args " -DROS_VERSION=2" --event-handlers console_direct+ Starting >>> sick_scan_xd Update the VERSION argument value. Or, use the ... syntax -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100. Call Stack (most recent call first): -- Found PythonInterp: C:/Python38/python.exe (found suitable version "3.8.3", minimum required is "3.6") Call Stack (most recent call first): CMake Warning (dev) at C:/dev/ros2_humble/ros2-windows/share/python_cmake_module/cmake/Modules/FindPythonExtra.cmake:140 (find_package): Call Stack (most recent call first): -- Found PythonLibs: optimized;C:/Python38/libs/python38.lib;debug;C:/Python38/libs/python38_d.lib (found suitable version "3.8.3", minimum required is "3.5") During handling of the above exception, another exception occurred: Traceback (most recent call last): IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for We have compiled some common reasons and troubleshooting tips at:
Please note and check the following:
and make sure that they are the versions you expect. Original error was: No module named 'numpy.core._multiarray_umath' CMake Error at C:/dev/ros2_humble/ros2-windows/share/rosidl_generator_py/cmake/rosidl_generator_py_generate_interfaces.cmake:204 (message): -- Configuring incomplete, errors occurred! Update the VERSION argument value. Or, use the ... syntax CMake Warning (dev) at C:/dev/ros2_humble/ros2-windows/share/rosidl_generator_py/cmake/rosidl_generator_py_generate_interfaces.cmake:20 (find_package): Call Stack (most recent call first): CMake Warning (dev) at C:/dev/ros2_humble/ros2-windows/share/python_cmake_module/cmake/Modules/FindPythonExtra.cmake:52 (find_package): Call Stack (most recent call first): CMake Warning (dev) at C:/dev/ros2_humble/ros2-windows/share/python_cmake_module/cmake/Modules/FindPythonExtra.cmake:140 (find_package): Call Stack (most recent call first): Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for We have compiled some common reasons and troubleshooting tips at:
Please note and check the following:
and make sure that they are the versions you expect. Original error was: No module named 'numpy.core._multiarray_umath' CMake Error at C:/dev/ros2_humble/ros2-windows/share/rosidl_generator_py/cmake/rosidl_generator_py_generate_interfaces.cmake:204 (message): Failed <<< sick_scan_xd [19.5s, exited with code 1] Summary: 0 packages finished [19.9s] i realy don't know what i can change or do to resolve this problem! |
To me this looks like numpy is not properly installed in your Python 3.8 installation. To check this, you can start Python located at
|
i think i found a solution for the colcon-build error! |
Hello Guys,
i am trying to get the sick_scan_xp on my computer to work with my picoscan.
i already setup ros2 humble and that works fine, and run python 3.10.0 with the python_d.exe version (the debug version installed).
now i have ran this:
cd C:
mkdir sick_scan_ws
cd sick_scan_ws
mkdir .\src
pushd .\src
git clone -b master https://github.com/SICKAG/sick_scan_xd.git
popd
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64
call C:\dev\ros2_humble\ros2-windows\setup.bat
when i tried to build with colcon it gave multiple problems, i tried to resolve them using this:
python -m pip install --upgrade pip
pip install -U colcon-common-extensions
python -m pip install rosdep
pip install empy==3.3.4
python -m pip install numpy
now i try to run the:
colcon build --packages-select sick_scan_xd --cmake-args " -DROS_VERSION=2" --event-handlers console_direct+
but it says that i have some issues with my numpy regarding a certain file, but this file exists! the colcon build always uses the python_d.exe and not my python.exe and if i try to delete the python_d.exe it says that it can't find this file and won't work either. can someone please help me?
The text was updated successfully, but these errors were encountered: