r/OpenPythonSCAD • u/WillAdams • Apr 12 '25
Significance of Edit | Preferences | Python | Network Import List?
Is it now necessary to list files there so as to indicate that they are allowed to be imported?
Apparently:
nimport("https://raw.githubusercontent.com/WillAdams/gcodepreview/refs/heads/main/gcodepreview.py")doesn't work anymore:
ERROR: Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'gcodepreview'
3
Upvotes
View all comments
Show parent comment
2
u/gadget3D Apr 14 '25
Sorry, I dont have much experience with that. I understand you can do the venv activate within pythonscad and host the pythonscad related pip packages there, but i did not test often and did not have good success rate myself ;)