ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

failed to create ROS2 process.

asked 2018-03-19 00:10:22 -0500

Sued-Wind gravatar image

updated 2018-03-19 00:13:14 -0500

When I've completed all steps according to the instruction of ROS2 installation, I typed

ros2

and next

ros2 run demo_nodes_cpp talker

into cmd, but got the same reply:

failed to create process.

I wonder what was happening. I'm beginner of ROS2 and appreciate for your help, THANKS!

edit retag flag offensive close merge delete

Comments

3

As always: please include what OS this is and which CPU architecture this is (I know you link a Windows tutorial, but please be explicit). Which RMW are you targeting?

Also: is that all of the error message? Are there additional lines?

gvdhoorn gravatar image gvdhoorn  ( 2018-03-19 02:59:11 -0500 )edit

Windows 10 Home 1803, VS 2017, Skipped OpenCV and Additional DDS implementations, and used ros2-bouncy-windows-AMD64.zip. The only suggestions I've found relate to having a space in the Python path, but mine is C:\Python37. Txt dump with echo off commented out.

mcevoyandy gravatar image mcevoyandy  ( 2018-07-03 23:27:12 -0500 )edit

For me, choco installed Python 3.7 and ros2 expects 3.6, I downgraded, but got new errors...

mcevoyandy gravatar image mcevoyandy  ( 2018-07-08 00:08:12 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-08 17:59:16 -0500

William gravatar image

Since it appears you're using Python 3.7 (from the comments), you'll need to build ROS 2 from source until we produce a new set of binaries that work with Python 3.7:

https://github.com/ros2/ros2/wiki/Win...

Sorry the binaries are not working for you in the meantime. If you'd like to follow up with the issues you're getting with the older version of Python (3.6), please ask a new question.

As a workaround you might be able to avoid any of the programs that need Python, depending on what you want to do, for instance, you can simply run executables directly, e.g.:

 > C:\path\to\ros2\lib\demo_nodes_cpp\talker
edit flag offensive delete link more

Comments

I installed python 3.6.0 and the problem persists. The path is correct, yet I still get the "failed to create process" error. Is there another python release I have to install?

KrzysztofDabek gravatar image KrzysztofDabek  ( 2018-08-25 12:18:01 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-03-19 00:10:22 -0500

Seen: 3,964 times

Last updated: Jul 08 '18