Forums General General Chat Problems for controlling the arm by python Reply To: Problems for controlling the arm by python

Post count: 5

Hi Betegustaf
Thanks a lot! I download WinSCP and put my code inside the folder”niryo_one_python_api”. Then, I wrote the command in putty to execute my code,but got errors(shown below)
niryo@niryo-pc:~$ ssh niryo@ ‘source~/catkin_ws/devel/setup.bash&&export PYTHONPATH=${PYTHONPATH}:/home/niryo/catkin_ws/src/niryo_one_python_api/src/ niryo_python_api && python’
niryo@‘s password:
bash: source~/catkin_ws/devel/setup.bash: No such file or directory

Have you ever been in a situation like this?
And one more question is about”chmod+x”, how can we use this command to execute our code?
Thanks again!

Best wishes,