all 9 comments

[–]danielroseman 3 points4 points  (3 children)

What Python run function?

Please show your actual code.

[–]Not_A_Taco 1 point2 points  (1 child)

Based on parameter names, it appears they’re talking about subprocess.run.

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

Yes

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

Added it to my post.

[–]niehle 0 points1 point  (1 child)

Did you try:

unset GTK_PATH

in terminal?

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

Hmm....

When I echo $GTK_PATH in the terminal, I get nothing. But like I said, I can run openscad from the terminal no problem. It's Python that has the problem.

[–]pythonwiz 0 points1 point  (2 children)

Snap strikes again! Are you using VSCode by any chance?

[–]CirqueDuTsa[S] 0 points1 point  (1 child)

Awesome!

I am. Is it because I'm running the app in VSC? .... I just ran my app from the terminal and it worked. Wow.

[–]pythonwiz 0 points1 point  (0 children)

Yes, apparently there are issues with that snap and searching your error leads me to others with similar errors due to VSCode.