[Discourse.ros.org] [Next Generation ROS/Troubleshooting] R2B3 Windows - Failed to create process - Installation Test

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS/Troubleshooting] R2B3 Windows - Failed to create process - Installation Test

Ian McMahon via ros-users


Just some notes for others on my resolved R2B3 Windows install issues.  I followed the installation procedures for Windows Binary Release - https://github.com/ros2/ros2/wiki/Windows-Install-Binary.

1. After install, running c:\dev\ros2\local_setup.bat failed and reported that it couldn't find a file.  Turns out it expects python to be in c:\Python36, when it was actually installed in c:\program files\python36.   The path is hard coded in the root local_setup.bat, where you must change it to the correct install directory.

2. Running the local_setup.bat now works, feeling pretty good, until I tried to run the demo_nodes example. Immediately fails with "Failed to create process".   **Make sure there is no space in your python path**.  I spent way too much time figuring that one out....

One quick test:  after running local_setup.bat, if you just try to run ros2 with no args, and it reports "Failed to create process", it's most likely due to a space in the python path.





---
[Visit Topic](https://discourse.ros.org/t/r2b3-windows-failed-to-create-process-installation-test/2896/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] R2B3 Windows - Failed to create process - Installation Test

Ian McMahon via ros-users


I've just followed the [windows installation](https://github.com/ros2/ros2/wiki/Windows-Install-Binary) and also got the `failed to create process` error. Turned out that choco installed Python 3.7, and as mentioned above, ros2 is expecting 3.6

I downgraded to 3.6.5, but I now get this error:

    Traceback (most recent call last):
      File "C:\dev\ros2\lib\demo_nodes_py\listener-script.py", line 11, in <module>
        load_entry_point('demo-nodes-py==0.5.1', 'console_scripts', 'listener')()
      File "C:\dev\ros2\Lib\site-packages\demo_nodes_py\topics\listener.py", line 37, in main
        rclpy.init(args=args)
      File "C:\dev\ros2\Lib\site-packages\rclpy\__init__.py", line 27, in init
        args if args is not None else sys.argv)
    RuntimeError: Failed to init: failed to load shared library of rmw implementation. Exception: Cannot load library: C:\dev\ros2\bin/rmw_fastrtps_cpp.dll, at C:\J\workspace\ci_packaging_windows\ws\src\ros2\rmw_implementation\rmw_implementation\src\functions.cpp:135, at C:\J\workspace\ci_packaging_windows\ws\src\ros2\rcl\rcl\src\rcl\rcl.c:92





---
[Visit Topic](https://discourse.ros.org/t/r2b3-windows-failed-to-create-process-installation-test/2896/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [Next Generation ROS] R2B3 Windows - Failed to create process - Installation Test

Ian McMahon via ros-users
In reply to this post by Ian McMahon via ros-users


@mcevoyandy You comment has nothing to do with the original post. Please post this in a separate thread. For questions like this we recommend to ask a question on answers.ros.org instead.





---
[Visit Topic](https://discourse.ros.org/t/r2b3-windows-failed-to-create-process-installation-test/2896/3) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>