| Difficulty adding python program to projects可打印版本 +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: Difficulty adding python program to projects (/Thread-Difficulty-adding-python-program-to-projects) |
Difficulty adding python program to projects-codeeza_917-12-17-2020 Hi, I am receiving an error message when I add a python program in my robodk projects. Kindly note the error message in the inserted image. Will appreciate your guidance. RE: Difficulty adding python program to projects-Albert-12-17-2020 I believe this error is related to Python 2. If you use Python 3 it should work. You can set the Python interpreter in Tools-Options-Python. If this is not the case, can you share the RDK file? RE: Difficulty adding python program to projects-codeeza_917-12 - 18-2020 Hi Albert, Many thanks. I changed the path from python 2 to 3 as you advised and it has worked. regards, Eza |