Skip to main content

All Questions

29 votes
4 answers
49k views

Python: AttributeError: 'module' object has no attribute 'AddReference'?

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 ...
Ran's user avatar
  • 725
2 votes
2 answers
1k views

How can I get generics to work in Python.NET with CPython

How can I get generics to work in Python.NET with CPython. I get an error when using the subscript syntax from Python.NET Using Generics TypeError: unsubscriptable object With Python 2.7.11 + ...
Aron Curzon's user avatar
  • 2,644
3 votes
1 answer
6k views

Inca Open Experiment Python

I am working on python and i need to use a Tool named "Inca". Now i am able to run remotely this tool but i can't to open an experiment located in a specific workspace. import sys,clr sys.path.append(...
paolo2988's user avatar
  • 867
2 votes
1 answer
1k views

Call dll function works in IronPython, doesn't work in CPython3.4 gives "No method matches given arguments" error

For a project I need to include a DLL in Python. I'm using CPython3.4 and for including the dll I use pythonnet clr module (pythonnet-2.0.0.dev1-cp34-none-win_amd64.whl). In the dll I need a function ...
Rowan Klein Gunnewiek's user avatar