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

Unable to Generate Robot Programs on Mac

#1
Hi,

brand new to RoboDK and having issues generating a program for our robot.

It is a test milling operation for our Fanuc R-2000iB/165F Robot with R-30iA controller.



The error code:
Failed to generate program "MainProgMilling" using the Post Processor "Fanuc_RJ3"
Post processor path:/Users/ric/RoboDK/RoboDK.app/Contents/Posts/Fanuc_RJ3.py
Traceback (most recent call last):

Process output:
Using Python version: sys.version_info(major=3, minor=12, micro=4, releaselevel='final', serial=0)
RoboDK Post Processor: /Users/ric/RoboDK/RoboDK.app/Contents/Posts
Invalid Python version or post processor not found. Make sure you are using a supported Python version: /Users/ric/RoboDK/RoboDK.app/Contents/Posts/v312
Select Tools-Options-Python and select a supported Python version
Using Python version: sys.version_info(major=3, minor=12, micro=4, releaselevel='final', serial=0)
RoboDK Post Processor: /Users/ric/RoboDK/RoboDK.app/Contents/Posts
Invalid Python version or post processor not found. Make sure you are using a supported Python version: /Users/ric/RoboDK/RoboDK.app/Contents/Posts/v312
Select Tools-Options-Python and select a supported Python version

Python Post Processor process exit code: 0


Attached Files Thumbnail(s)
Error message RoboDK.png   

.rdk   Fanuc Test.rdk (Size: 440.8 KB / Downloads: 199)
#2
Please, select the Python-Embedded interpreter in RoboDK  (Tools - Options - Python - Python interpreter):

pt.png   
#3
(07-11-2024, 09:56 AM)Sergei Wrote: Please, select the Python-Embedded interpreter in RoboDK  (Tools - Options - Python - Python interpreter):

Thank you, 
but I'm on a Mac and there is no python.exe file on my system. 

I have Installed the latest python version and there is a program icon named 'Python Launcher'.

However if I try to click on the Folder Icon on the right side of the path DIR nothing happens. I assume that that should open a finder window to point RoboDK to the Python install location, but nothing opens.

Attached the screenshot how it looks on my end.


Attached Files Thumbnail(s)
Screenshot 2024-07-11 at 9.00.34 AM.png   
#4
Python 3.12 is still not supported to generate robot programs. Can you try with Python 3.11 or Python 2.X ?

If you select "Select.." right beside the Python interpreter path you may see different versions of Python as potential choices.
#5

(07-11-2024, 01:23 PM)Albert Wrote: Python 3.12 is still not supported to generate robot programs. Can you try with Python 3.11 or Python 2.X ?

If you select "Select.." right beside the Python interpreter path you may see different versions of Python as potential choices.

I've installed Python 3.11 and 2. and manually copied the direction into both fields, now I'm getting the following error with either version:


Attached Files Thumbnail(s)
Screenshot 2024-07-11 at 10.06.32 AM.png   
#6
The Settings look like this: (attached screenshot)


Attached Files Thumbnail(s)
Screenshot 2024-07-11 at 1.21.27 PM.png   
#7
The Python path on Mac should look like this:
Code:
/usr/local/bin/python3.9
Or like this:
Code:
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3
#8
(07-12-2024, 08:18 AM)Albert Wrote: The Python path on Mac should look like this:
Code:
/usr/local/bin/python3.9
Or like this:
Code:
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3

Hmm, but that is not where Python is installed on my system.
Attached a screenshot of the folder that the Installer created.


Thank you for your help.

Attached the test file I'm working with, however I get the same error with anything I try to export as robo code.

The error message changed for some reason, I assume it has to do with choosing another version of Python.


Attached Files Thumbnail(s)
Screenshot 2024-07-12 at 10.17.51 AM.png    Screenshot 2024-07-12 at 10.38.11 AM.png   

.rdk   Stern Part Mill.rdk (Size: 2.95 MB / Downloads: 226)
#9
RESLOVED the issue by re installing RoboDK and entering the path settings as in the attached screenshot.


Attached Files Thumbnail(s)
Screenshot 2024-07-13 at 1.18.30 PM.png   
#10
Great, thank you for letting us know!
  




Users browsing this thread:
1 Guest(s)