Python bug report
Peter Pearson
pkpearson at nowhere.invalid
Fri Dec 22 18:35:09 EST 2017
On Thu, 21 Dec 2017 23:54:17 +0100, Ranya <ranyafafi93 at gmail.com> 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.
What is clr? Whatever it is, it doesn't have the AddReference
attribute that you seem to be expecting.
--
To email me, substitute nowhere->runbox, invalid->com.
More information about the Python-list
mailing list