New version 2025-07-11

6 views
Skip to first unread message

William Adams

unread,
Jul 12, 2025, 9:52:04 AMJul 12
to PythonSCAD
I didn't notice that I was using an older version, installed at:

"C:\Program Files\PythonSCAD\openscad.exe"

and dated 6/5/25


but it installed to:

"C:\Program Files\PythonSCAD\pythonscad.exe"

and when I switched the Taskbar icon to that:

>Traceback (most recent call last):
>  File "<string>", line 14, in <module>
>ModuleNotFoundError: No module named 'gcodepreview'

since it is installed to:

C:\Users\willa\OneDrive\Documents\OpenSCAD\libraries\

I have a commented out command to move it to:

C:\Users\willa\AppData\Local\Programs\Python\Python311\Lib

but enabling that didn't help, and when I used the menu command File | Show Library Folder it took me to:

C:\Users\willa\OneDrive\Documents\OpenSCAD\libraries

which contains:

"C:\Users\willa\OneDrive\Documents\OpenSCAD\libraries\gcodepreview.py"

opening that file and running it in Pythonscad we get:

>No top level geometry to render

but I'm not seeing anything obvious to get this working in Preferences or elsewhere in the menus....

Going back to 2025-06-05 for the time being.

William

Guenther Sohler

unread,
Jul 12, 2025, 10:52:30 AMJul 12
to William Adams, PythonSCAD
Can you check If there IS a pythonxxx._pth File sitting in your Installation. Dir?
If yes pleased notify me and deleted that.
PythonSCAD hast switched to python3.12 as Python 3.11 Had Download issues During build


--
You received this message because you are subscribed to the Google Groups "PythonSCAD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonscad+...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/pythonscad/6051e78f-af61-4fe5-9810-28b88f98363cn%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William Adams

unread,
Jul 12, 2025, 11:05:18 AMJul 12
to PythonSCAD
There were three such files:

"C:\Program Files\PythonSCAD\python312._pth"
"C:\Program Files\PythonSCAD\bin\python311._pth"
"C:\Program Files\PythonSCAD\bin\python312._pth"

renamed them, tried launching directly which didn't work (and didn't generate any sort of error messages) but didn't notice if compilation had begun or no, so re-re-named the taskbar icon, and it began compiling, so I think we're good.

Thanks!

William
Reply all
Reply to author
Forward
0 new messages