Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Python script interrupts after 0.12 s

#1
I've got a problem with my first steps using python API. I've tried to do Python Simulation "SampleOfflineProgramming" from RoboDK documentation. I did everything equal to the example, but when I doubleclick the  "SampleOfflineProgramming"-programm in the tree on the left, the simulation just starts for 0.1 seconds and the python script interrupts. That's what RoboDK shows me at the bottom of the window... I tried to change the python pyath ans delete other Python versions. If I change the path the simulation doesn't even starts so I think thats not the problem...

I'm using RoboDK 5.5.2 Education Version with Python 3.7.3

Does someone has an Idea what the problem could be?
#2
I recommend you to use the latest version and the default settings. New versions have an embedded version of Python that does not conflict with other versions of Python you could have in your system. You can set the Python interpreter path here:
  1. Select Tools-Options
  2. Select the Python tab
  3. Set the Python interpreter path to:
    C:/RoboDK/Python-Embedded/python.exe
If you have a recent version.

Otherwise, you should use the Python version you have. For example, previous versions of RoboDK installed Python 3.7 in this location by default:
C:/RoboDK/Python37/python.exe
  




Users browsing this thread:
1 Guest(s)