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

Python Tkinter

#1
Hi, im creating a robotic station simulation in RoboDK using python -Robot_feed.py, i have also made a tkinter GUI app GUI.py, which i wanted to use to set the parameters of simulation.
I wanted to start RDK from the GUI, and import the RDK python script in an external python code(tkinter app, GUI.py), but as soon as i do that i get the message: no module named robolink
#2
Since you are running Python from outside RoboDK you should install the RoboDK API for Python:

Code:
pip install robodk

More information here:
https://pypi.org/project/robodk/
#3
(05-03-2021, 10:25 PM)Albert Wrote: Since you are running Python from outside RoboDK you should install the RoboDK API for Python:

Code:
pip install robodk

More information here:
https://pypi.org/project/robodk/

Hi,
thanks for the fast reply. I have already done that, but i realized then that i cant run the tkinter file from vscode, but from the command shell, then it works.
Thanks again
#4
You are probably mixing different versions of Python.

In VSCode, on the bottom left, you can select the Python version you want to use.
  




Users browsing this thread:
1 Guest(s)