Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

No module named Drawing when using Eto.Forms

$
0
0

Hi the community,

I am using VScode for rhino python and trying to make the Eto sample file work.
I already installed Eto-stubs and check the python interpreter in Vscode, but still get the error ‘No module named Drawing’. I double checked importing grasshopper, Rhino, which were all working.

It seems that Eto can be imported and the autocomplete is also working

I don’t know if I need to add a reference, but attempting to do
clr.AddReferenceByName(“Eto”)
clr.AddReference(“Eto”)
clr.AddReferenceToFileAndPath(…)

did not change anything.

Many thanks in advance for your help!
Shin

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles