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

Post Processor error ModuleNotFoundError No module named codecs


I am using a trial version of RoboDK. 
Before purchasing a license I would like to try out some basic functions.
I have selected the black colored post processors. None of them work.
I get the following alert message:

Failed to generate program "MainWeldA" using the Post Processor "KUKA_KRC2"
Post processor path:C:/RoboDK/Posts/
Fatal Python error: initfsencoding: unable to load the file system codec
Traceback (most recent call last):
File "C:\RoboDK\Python37\lib\encodings\", line 31, in
ModuleNotFoundError: No module named 'codecs'
Python Post Processor process exit code: 0

Can somebody help ?
Please update RoboDK and navigate to Tools-Options-Python and change the effective Python path to C:/RoboDK/Python-Embedded/, as we migrated away from Python 3.7.
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.
Hi Sam,

thank you for your prompt reply. It works now.

I changed the settings as to a Jeremy RoboDK video.; --- 01 - RoboDK Training - Tekniker - Installation and setup

I believe this video is not up to date.
Thank you for your feedback. Just for your information, since June 2023 RoboDK uses its own version of Python (Python embedded). You can find more information about updates here:

Users browsing this thread:
1 Guest(s)