Re: [Python.NET] Urgent Bug Report: clr.AddReference
Denis Akhiyarov <[email protected]> Wed, 20 Dec 2017 21:17:47 +0000
| Newsgroups | gmane.comp.python.dotnet |
|---|---|
| Message-ID | <CALxxJLS3tnPKFE2Jg0Y0jgDNvSLKXAjpbL56-2=G-BJb59M57g@mail.gmail.com> |
Did you import clr? Have a look at wiki and tutorial here: https://github.com/pythonnet/pythonnet On Wed, Dec 20, 2017, 2:58 PM Ranya Fafi <[email protected]> wrote: > Hi, > Am trying to use clr.AddReference and clr.AddReferenceToFile, but > python(2.7) keeps making this error: > > Traceback (most recent call last): > File "<pyshell#5>", line 1, in <module> > clr.AddReference("UnityEngine")AttributeError: 'module' object has no attribute 'AddReference' > > How can I fix this? > Thanks in advance. > > _________________________________________________ > Python.NET mailing list - [email protected] > https://mail.python.org/mailman/listinfo/pythondotnet > _________________________________________________ Python.NET mailing list - [email protected] https://mail.python.org/mailman/listinfo/pythondotnet