r/OpenPythonSCAD • u/WillAdams • Mar 03 '25
Which version of Python for PythonSCAD?
I know: https://www.python.org/ftp/python/3.11.5/python-3.11.5-amd64.exe is recommended on the download page --- does it break things to install 3.12?
What would be involved in upgrading to that latter version? I somehow have both 3.11 and 3.12 on one of my computers and I want to simplify down to just one....
If removing 3.12 is a good option, that's fine for me (at least for the nonce)
4
Upvotes
View all comments
Show parent comment
2
u/gadget3D Mar 03 '25 edited Mar 03 '25
if you just use "bare" python programming and dont use modules, which have a shared library,
I believe, that pythonSCAD is quite tolerant to the installed Windows python version.
But if you use modules with shared objects, these modules expect a certain version of libpython.dll to be used and PythonSCAD uses exactly 3.11.5.
teepee is right now addressing this topic. users will be able to create and select virtulal envs to be used with openscad/pythonscad.
BTW I believe, for build123d or lower layers there are also several pip packages for different python versions