Is it possible to use the pythonnet package with OpenSesame?
Hey everyone,
I tried downloading pythonnet from https://github.com/pythonnet/pythonnet and moved it to both folders c:\Program Files (x86)\OpenSesame\share\opensesame_extensions and c:\Program Files (x86)\OpenSesame\share\opensesame_extensions.
However, when I try to import clr, I get the ModuleNotFoundError.
[Note: I removed the original clr folder from OpenSesame since before I received the AttributeError: module 'clr' has no attribute 'AddReference'].
Any ideas how to proceed or is it just nonsense what I am doing?
Thanks in advance!
Comments
Hi,
Have you tried to simply install the package, like it is described here?
You can use pip from within Opensesame to install packages.
Hope this helps,
Eduard
Hi Eduard,
I had tried using pip but since this did not work in the first place, I tried to find a workaround.
Now it turned out it just did not work because of the university proxy. So using pip, I just used ['install', 'proxy=http://...', 'packagename'] and then it worked.
Best,
Dan