ros2.exe - failed to create process.

asked 2019-04-22 06:28:42 -0500

ury gravatar image

updated 2019-04-22 06:43:40 -0500

Hi,

I've completed the ros2 installation procedure on my Windows 10 x64 machine.

after calling local_setup.bat, I try to execute ros2.exe and receive the above message (and nothing else).

I've read the threads relating to this message, and as a result (after using downgraded python from 3.7.3 to 3.6.5. The result is the same.

I've set COLCON_TRACE=1 and observed that the local_setup.bat output contains no errors. I've also rechecked the PYTHONPATH environment variable. In my case, it exists and its value is:

C:\opt\ros2\debug\Lib\site-packages;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64

Visual Studio was installed prior to ros2, together with its python component.

Any idea what I'm doing wrong?

Thanks,

Ury

EDIT: I've noticed that chocolatey installed python 3.6.5 in c:\python36, so I manuall changed the PYTHONPATH variable value, so now after running local_setup.bat, it is:

PYTHONPATH=C:\opt\ros2\debug\Lib\site-packages;C:\Python36

I'm still getting the same message.

edit retag flag offensive close merge delete