I’m new to scripting in Rhino but keen to get started.
I have been following the documentation on using python scripts in rhino but am having trouble running any of Rhino’s sample python scripts.
I have included a screenshot of the error I get when I try run the “Hellopython” script using the “Runpythonscripts” from within rhino:
Works fine here in the 6 WIP, I could test later. I maybe missing something since it has been a while since I looked at where the rhino python files need to be. If that matters now. This is a script I have to calculate metal weight from objects. Ran fine.
No, an Atom install shouldn’t cause a problem, it doesn’t install Python.
I know we have had problems on the Windows side with multiple IronPython installs, but I don’t know how it works on the Mac side. Installing the current versions of Rhino for Mac should install the correct IronPython for Rhino automatically. Someone else who is more familiar with the Mac environment will have to answer here…
Here is where your IronPython should reside … I can check later. I did post something years ago about checking to make sure you have the right python installed on macOS for Rhino. I believe it is still using 2.7 and not 3. I do have separate installs of python but in my Applications folder and not in my system Phyton that comes with macOS.
maybe reinstall rhino or try a restart of your computer. Off to work I will check later.
I’m really sorry for the late reply. Work took up all of my available attention for the rest of yesterday
After coming in this morning, on start up, this problem seems to have resolved itself.
I must assume that as suggested in your helpful posts above that a restart may have been all that was needed to resolve this issue.