Ask Your Question
1

failed to create ROS2 process.

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

Sued-Wind gravatar image

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

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 imagegvdhoorn ( 2018-03-19 02:59:11 -0600 )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 imagemcevoyandy ( 2018-07-03 23:27:12 -0600 )edit

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

mcevoyandy gravatar imagemcevoyandy ( 2018-07-08 00:08:12 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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 imageKrzysztofDabek ( 2018-08-25 12:18:01 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 694 times

Last updated: Jul 08 '18