Environment
Pythonnet version: 2.0+
Python version: Python 2.7
Operating System: Windows 7
Details:
The code doesn't works on the ide gives the following error:
'PyObject' does not contain a definition for 'As' and no extension method 'As' accepting a first argument of type 'PyObject' could be found (are you missing a using directive or an assembly reference?
I also have this problem.
Ive been using
python 3.6
pythonnet 2.3.0
and tried the pythonnet 2.4.0.dev built directly from the github master and it still doesnt work.
Activity
yagweb commented on May 21, 2018
Your Pythonnet version is too old. Use Pythonnet 2.3+ or build from master manually.
sim273 commented on May 22, 2018
Actually I had downloaded the repository of pythonnet and added it to the project,I m very new to this,if anyone can help me out please.
herrsa1 commented on Aug 8, 2018
I also have this problem.
Ive been using
python 3.6
pythonnet 2.3.0
and tried the pythonnet 2.4.0.dev built directly from the github master and it still doesnt work.