setz Posted May 20, 2020 Share Posted May 20, 2020 Just starting. I don't know what I'm doing at all. Using a Mac 10.11.6 so Python should be installed right? (how can I find out which version of Python is installed?) I ran "cube.py" utility from the Extensions menu and I got this error msg: I thought there may be a permissions error so I moved the script to the desktop and got the same error message implying that it was trying to open the same file, not the one on the desktop so I renamed the one on the desktop to cube2.py retried and then got this msg: ...and no .pyc file was created. What is going wrong here? Quote Link to comment Share on other sites More sharing options...
setz Posted May 20, 2020 Author Share Posted May 20, 2020 I ran "python ––version" in Terminal and it returned this: and then I downloaded Python 2.7.18, ran the installer. It created a Python folder with this in my Applications folder: So it looks like I have 2.7 in /Library/Frameworks but the No module named cube2 is still displayed when I run the cube2py script. Is the 2.7 enough 2.7.? or do I need to get the 2.7.18 installed and how? Quote Link to comment Share on other sites More sharing options...
¢hris £und Posted May 20, 2020 Share Posted May 20, 2020 Setz. Python 2.7 is installed on all Mac OSs up to Catalina. The problem doesn't appear to be with python. I get the same error when I run the cube.py script. By looking at the code, there is an error in the "formzPythonInterface" This worked before, so it appears to be somewhat recent. I let dev know. Quote Link to comment Share on other sites More sharing options...
¢hris £und Posted May 20, 2020 Share Posted May 20, 2020 Scratch that. It is just a typo in the script. In line 5 cube should not be plural. should read. fz.cube([0.0,0.0,0.0], [5.0,10.0,20.0]) Quote Link to comment Share on other sites More sharing options...
¢hris £und Posted May 20, 2020 Share Posted May 20, 2020 Oh, and the scripts at this time MUST be in the scripts folder. I am hoping this will change. Quote Link to comment Share on other sites More sharing options...
setz Posted May 21, 2020 Author Share Posted May 21, 2020 Ta Da! Excellent! Thx ¢hris! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.