Ask Your Question
1

Launching ROS on QNX 7.0

asked 2017-06-27 10:49:16 -0500

mhariharasudan gravatar image

I have compiled ROS from source for QNX and ported the binaries to the QNX machine. As a first step Id have to source the setup script in the devel folder. Since "source" command does not work in QNX, I had to run it as an executable. It uses ksh and so I replaced bash with ksh in setup.bash and tried to run it. While trying to run the _setup_tools.py from the setup.sh, python throws me the following error

ImportError: No module named site Failed to run '"/opt/qnx/install/arm_catkin_ros/devel_isolated/topic_tools/_setup_util.py" ': return code 1

It seems that python is looking for the dist-packages folder which is not available on my QNX machine. Any pointers or ideas on how I have to modifiy my script or get over this. I need to just test roscore.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-07-21 15:09:44 -0500

mhariharasudan gravatar image

The path was not set to site-packages on my QNX machine. That fixed the issue

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-06-27 10:49:16 -0500

Seen: 357 times

Last updated: Jul 21 '17