No module named pylink.pylink_c
in OpenSesame
Hi,
I have installed the latest version of OpenSesame and I encountered the error "No module named pylink." After installing pylink, I am now getting the error "no module named pylink.pylink_c." Do you have any ideas about what might be causing this issue or how I can properly install pylink?
Thanks!
Best regards,
PariShad
Comments
Hi @Pari,
I'm no expert on that sort of issue but I wonder whether if you got any error message during the installing of pylink in the OS Console. You could try running the following in the OS console:
Does that help?
Fabrice.
Hi @Fab,
Thanks for your reply.
The code you shared with me did not work, but I think I've identified the reason why I'm receiving an error when importing pylink. I had to rename the file from pylink_c.cp39-win32 to pylink_c, but even after doing that, the issue remains unresolved. On my computer, when I copy the pylink file to the designated path, the pylink_c module appears as a .pyd data file instead of a Python extension module. This prevents it from being recognized by the init file, leading to the error message "DLL load failed:..." Do you have any suggestions on how I can convert the pylink_c file into a Python extension module? I also attempted to open it with rapunzel, but encountered an error stating "the file you opened contains some invalid characters."
Best regards,
PariShad
Hi Pari,
I have installed the latest version of OpenSesame
Opensesame 3.14 or 4.0?
I don't know what causes the problem, but something with the installation didn't work. Have you read this part of the documentation? Maybe your Python versions for pylink and Opensesame don't match?
Eduard
Hi @eduard,
Yes, I am using OpenSesame 3.14, and I believe there was a compatibility issue with the Python version we were using. I manually downloaded a matching version of Pylink from SR Research, and now it's working.
Best regards,
Parishad