Python bug report
breamoreboy at gmail.com
breamoreboy at gmail.com
Fri Dec 22 18:56:07 EST 2017
On Friday, December 22, 2017 at 1:28:17 PM UTC, Ranya 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.
Are you actually using the IronPython clr module, have you downloaded by mistake the module of the same name from pypi, or do you have a module of the same name on your path?
--
Kindest regards.
Mark Lawrence.
More information about the Python-list
mailing list