You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What packages or external references (if any) were used?
No response
Stack Trace
No response
Details
I'm using PythonLibrary with Cpython3, but from the first launch of Dynamo, unfortunately it won't load the Python.NET. I have to force Dynamo to overcome this situation.
Code:
"
import clr
import sys
import re
import System
Dynamo Version
Dynamo: 2.18.1.5096
Host
REVIT 2024.2
Operating System
OS: Microsoft Windows NT 10.0.22621.0
What did you do?
I used cpython3
What did you expect to see?
No error!
What did you see instead?
Cpython3 "import clr" error!
What packages or external references (if any) were used?
No response
Stack Trace
No response
Details
I'm using PythonLibrary with Cpython3, but from the first launch of Dynamo, unfortunately it won't load the Python.NET. I have to force Dynamo to overcome this situation.
Code:
"
import clr
import sys
import re
import System
clr.AddReference('Python.Included')
import Python.Included as pyInc
path_py3_lib = pyInc.Installer.EmbeddedPythonHome
sys.path.append(path_py3_lib + r'\Lib\site-packages')
import shapely.geometry as sg
OUT = 0
"
The text was updated successfully, but these errors were encountered: