Closed ronan-dasilva closed 5 years ago
It has been a lot of changes from 1.4.1. The current version is 2.9.4. I would recommend installing the newest version of retinotopic_mapping. Also, it has been tested that the pyglet version 1.2.4 is working. So I will recommend using that version.
Thanks for the quick reply, Jun!
I am indeed using retinotopic_mapping version 2.9.4. My mistake, I meant to say I am using pyglet 1.4.1 =P
Downgrading pyglet to version 1.2.4 solved the issue! Many thanks!
Hello there!
I am trying to get retinotopic_mapping up and running on my machine, but I am stuck on an issue. I am trying to run the following example code from the DisplaySequence.py file:
`
But I am running into the following error:
File "F:\Miniconda3\envs\retinotopic_mapping\lib\site-packages\retinotopic_mapping-2.9.4-py2.7.egg\retinotopic_mapping\DisplayStimulus.py", line 389, in trigger_display color=self.initial_background_color) File "F:\Miniconda3\envs\retinotopic_mapping\lib\site-packages\psychopy-3.1.5-py2.7.egg\psychopy\visual\window.py", line 389, in __init__ self.backend = backends.getBackend(win=self, *args, **kwargs) File "F:\Miniconda3\envs\retinotopic_mapping\lib\site-packages\psychopy-3.1.5-py2.7.egg\psychopy\visual\backends\__init__.py", line 32, in getBackend return Backend(win, *args, **kwargs) File "F:\Miniconda3\envs\retinotopic_mapping\lib\site-packages\psychopy-3.1.5-py2.7.egg\psychopy\visual\backends\pygletbackend.py", line 101, in __init__ defDisp = pyglet.window.get_platform().get_default_display() AttributeError: 'module' object has no attribute 'get_platform'
I have tried just for diagnostics to run call the .get_platform() method directly on my python interpreter, but it gives the same result.
`
Could this be because of the pyglet version that was installed when I installed retinotopic_mapping (1.4.1)?
Many thanks!!