0
$\begingroup$

Rosanswers logo

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!


Originally posted by Sued-Wind on ROS Answers with karma: 11 on 2018-03-19

Post score: 1


Original comments

Comment by gvdhoorn on 2018-03-19:
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?

Comment by mcevoyandy on 2018-07-03:
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.

Comment by mcevoyandy on 2018-07-08:
For me, choco installed Python 3.7 and ros2 expects 3.6, I downgraded, but got new errors...

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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/Windows-Development-Setup

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

Originally posted by William with karma: 17335 on 2018-07-08

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by KrzysztofDabek on 2018-08-25:
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?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.