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

Unable to Generate Robot Programs on Mac

#21
Anyone can help with this?
I still can't get RoboDK to work with python.
#22
I am experiencing the same issue with Sequoia 15.4.1 and RoboDk 5.9.1. Is there any cure for this?
#23
I’m experiencing the same issue but haven’t been able to resolve it using the suggested steps. Could you let me know which version of Python worked for you?
#24
I recommend you to install the latest version of Python (currently Python 3.13) from the official website:
https://www.python.org/downloads/

Make sure to add Python to your path. The Tkinter module should be installed by default. You can configure the Python interpreter here:
  1. Select Tools-Options (or RoboDK-Preferences on some versions of RoboDK for Mac)
  2. Select the Python tab
  3. Enter the path to the Python interpreter
#25
I tried using the latest version of Python, but I’m still getting the same error. I’ve attached some screenshots to show the steps I took, including the address and file location setup. Could you please take a look and let me know if I missed anything?


Attached Files Thumbnail(s)
Screenshot 2025-07-14 at 3.34.34 PM 2.png    Screenshot 2025-07-14 at 3.35.32 PM (2).png   
#26
What do you see if you double click the script? It should execute it by running Python, not IDLE.

You can try using this command as the Python Idle path:
Code:
path-to-python/python -m idlelib.idle "%1"
Which will open Python IDLE when you edit the script.

Actually, any editor should work when editing the file.
#27
When I double-click the script, I see the following message in the bottom bar:
“Failed to run Python script. Install Python and set the path to the Python interpreter in the Options menu → Python tab.”

Even after entering the command you mentioned, I still can’t open the editor. I receive the same error in a pop-up window:
“Failed to start Python editor. Install Python and set Python paths in the Options menu → tab Python.”
My assumption is that the software is not recognizing or connecting to Python properly.
#28
Same here, I tried everything possible, python versions, path, but nothing helped. I am switching to Win version just for generating programs.
#29
Can you provide more information about the issue? Print screen or message.

The issue is probably that Python has not been properly installed on your Mac system.
#30
(07-18-2025, 09:56 AM)Albert Wrote: Can you provide more information about the issue? Print screen or message.

The issue is probably that Python has not been properly installed on your Mac system.

I am using maybe 5+ programs using Python scripts on my system. Fusion360, Blender etc.

Even RoboDK's Run Script command under "Tools" works without problems. I can run scripts like "Add Object to Robot, "Import CSV" etc.  However, when I try to use macros or scripts like SprayOn from the tree ("Edit" or "Run") or try to "Generate Robot Program", I get the errors in the attached screenshot snippets.


Attached Files Thumbnail(s)
Screenshot 2025-08-09 at 15.43.52.png    Screenshot 2025-08-09 at 15.43.34.png   
  




Users browsing this thread:
1 Guest(s)