[New-bugs-announce] [issue32405] clr: AttributeError: 'module' object has no attribute 'AddReference'
Ranya
report at bugs.python.org
Thu Dec 21 16:58:48 EST 2017
New submission from Ranya <ranyafafi93 at gmail.com>:
Am trying to use clr.AddReference and clr.AddReferenceToFile to import an assembly, 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'
Can anyone tell me how to fix this.
----------
assignee: terry.reedy
components: IDLE
messages: 308909
nosy: Rany, terry.reedy
priority: normal
severity: normal
status: open
title: clr: AttributeError: 'module' object has no attribute 'AddReference'
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32405>
_______________________________________
More information about the New-bugs-announce
mailing list