NeuroTechX/EEG-ExPy

pyglet version incompatibility mac

Silkedesmet opened this issue ยท 4 comments

โ„น Computer information

  • Platform OS (e.g Windows, Mac, Linux etc): Mac
  • Python Version: 3.7
  • Brain Interface Used (e.g Muse, OpenBCI, Notion etc): Muse2

๐Ÿ“ Provide detailed reproduction steps (if any)

  1. created environment on miniconda with python 3.7
  2. cloned repo
  3. installed
  4. run eegnb runexp -ip

โœ”๏ธ Expected result

What is the expected result of the above steps?

cli opens

โŒ Actual result

pyglet 2.0.0 requires Python 3.8 or newer

Schermafbeelding 2022-11-30 om 13 56 43

If on the other hand I try to create an environment with python 3.8 I get some package conflict errors

Schermafbeelding 2022-11-30 om 13 59 38

Hi, same issue for me:
Exception: pyglet 2.0.4 requires Python 3.8 or newer.

any ideas? thanks

This is what I did (don't know if every step is correct/necessary)

I stick with python 3.7, and install legacy pyglet (don't require python 3.8+, but 3.6+)

pip install pyglet==1.5.27
pip install PyOpenGL PyOpenGL_accelerate

As pointed out in PixarAnimationStudios/OpenUSD#1372 (comment)
I edit PyOpenGL file OpenGL/platform/ctypesloader.py

And then, run interactive experiment in terminal (I select synthetic board, n170, and "no" for "Run signal quality check?")

eegnb runexp -ip

It shows faces/houses images and saves data from board to csv.

Maybe, I didn't look for working around package conflicts when installing conda environment with python 3.8