Python Forum
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
clr issue
#6
According to the docs, http://pythonnet.sourceforge.net/readme.html#importing make sure your path to the assemblies are in the sys.path

Quote:Python for .NET uses the PYTHONPATH (sys.path) to look for assemblies to load, in addition to the usual application base and the GAC. To ensure that you can implicitly import an assembly, put the directory containing the assembly in sys.path.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Messages In This Thread
clr issue - by tbaba83 - Mar-23-2017, 12:02 PM
RE: clr issue - by buran - Mar-23-2017, 12:16 PM
RE: clr issue - by Ofnuts - Mar-23-2017, 12:54 PM
RE: clr issue - by nilamo - Mar-23-2017, 07:50 PM
RE: clr issue - by Larz60+ - Mar-23-2017, 10:20 PM
RE: clr issue - by sparkz_alot - Mar-23-2017, 11:15 PM
RE: clr issue - by Ofnuts - Mar-24-2017, 10:09 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020