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

Error - No module named 'tkinter' on IRC5 postprocessor

#1
Hello, 
I am using the ABB IRC5 post processor.

Trying to generate a program as...(Thanks for your help getting me going Albert!) on a 3d printing project, but given this error:

File "C:\RoboDK\Posts\ABB_RAPID_IRC5.py", line 494, in ProgSave
File "C:\RoboDK\Posts\ABB_RAPID_IRC5.py", line 196, in getSaveFolder
ModuleNotFoundError: No module named 'tkinter'



PySide2 and/or tkinter is not present on the system. Please install PySide2: "python -m pip install PySide2" or "python -m pip install robodk[apps]"
Using Python version: sys.version_info(major=3, minor=12, micro=3, releaselevel='final', serial=0)


Following the steps above I get an error in the terminal: externally-managed-environment...etc

When selecting "Python" in the Tools->Options->Python->Python Interpreter I got an error saying Python was not configured. Changing to "Python3" got me to the next step but the error above. 

Hope you can help!
Thanks, 
Tom
#2
You should use the Python-Embedded version of Python that is included in RoboDK for Windows.

Are you using the latest version of RoboDK? The path to the Python interpreter should be this one:
C:/RoboDK/Python-Embedded/python.exe
#3
I'm using the latest version, but on Linux Mint. I have a Windows partition if there is no workaround?
Thanks
#4
You should be able to use the default Python install for Linux Mint and it will probably have Tkinter installed by default.

If not, you can install Tkinter for Python.
#5
I appreciate your help Albert, 
It seems Tkinter is not installed by default, installing it resolved the error. 
Thanks
#6
Great, thank you for letting us know.
  




Users browsing this thread:
1 Guest(s)