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

Thalia
Participant
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@10.10.10.10 ‘source~/catkin_ws/devel/setup.bash&&export PYTHONPATH=${PYTHONPATH}:/home/niryo/catkin_ws/src/niryo_one_python_api/src/ niryo_python_api && python touch_test_python_api.py’
niryo@10.10.10.10‘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,
Thalia