NeuroTechX / EEG-ExPy

EEG Experiments in Python
https://neurotechx.github.io/EEG-ExPy/
BSD 3-Clause "New" or "Revised" License
418 stars 124 forks source link

pyglet version incompatibility mac #214

Open Silkedesmet opened 1 year ago

Silkedesmet commented 1 year ago

ℹ Computer information

📝 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

sotofernando commented 1 year ago

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

any ideas? thanks

sotofernando commented 1 year ago

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 https://github.com/PixarAnimationStudios/USD/issues/1372#issuecomment-809929362 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.

danielemarinazzo commented 1 year ago

Great to hear. Maybe with the new 3.8 version the problem will be fixed anyway?

On Tue, 7 Mar 2023, 18:04 Fernando Soto, @.***> wrote:

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/USD#1372 (comment) https://github.com/PixarAnimationStudios/USD/issues/1372#issuecomment-809929362 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.

— Reply to this email directly, view it on GitHub https://github.com/NeuroTechX/eeg-notebooks/issues/214#issuecomment-1458523075, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIQU7TBE6AFTXKTOK3AD2LW25TBXANCNFSM6AAAAAASPTLREM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sotofernando commented 1 year ago

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