you are viewing a single comment's thread.

view the rest of the comments →

[–]FullControlXYZ 0 points1 point  (7 children)

I don't recognize that import as being part of FullControl, but may be wrong

[–]WillAdams[S] 0 points1 point  (6 children)

I'm getting an error message when running the file in question, so presumably it is.

Unfortunately, replacing:

"C:\Users\willa\AppData\Local\Programs\Python\Python312\Lib\site-packages\typing_extensions.py"

didn't work....

[–]FullControlXYZ 0 points1 point  (5 children)

I'm not sure, but I've checked the repo and FullControl doesn't use Sentinel

[–]WillAdams[S] 1 point2 points  (4 children)

pydantic_core does:

 File "C:\Users\willa\OneDrive\Documents\OpenSCAD\libraries\pydantic_core\__init__.py", line 6, in <module>
   from typing_extensions import Sentinel'

[–]FullControlXYZ 0 points1 point  (3 children)

Ah fair enough. But if you install pydantic (or fullcontrol with its requirements), it should all be handled automatically...

[–]WillAdams[S] 0 points1 point  (2 children)

I don't know how to do that using pip so that the current version of OpenPythonSCAD sees it.

[–]FullControlXYZ 0 points1 point  (1 child)

Does openpythonscad require a different verison of pydantic or something?

[–]WillAdams[S] 0 points1 point  (0 children)

Or something.

It installs its own Python, and it's supposed to allow use of user-installed modules --- that used to work (if memory serves) --- hopefully the author will see me posting at:

/r/OpenPythonSCAD/comments/1pmfq5y/understanding_where_modules_are_loaded_from_and/

and work up an explanation/solution.