Dynamo
Dynamo copied to clipboard
Dynamo does not install Python.NET packages from the first start!
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 "