NeuroTechX / EEG-ExPy

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

InvalidArgumentsError: Unexpected argument of type <class 'type'> #178

Closed shishankjain closed 1 year ago

shishankjain commented 2 years ago

ℹ Computer information

📝 Provide detailed reproduction steps (if any)

  1. …Just installed the eeg notebooks following the first steps mentioned in the installation guide.
  2. After executing the test code in the installation guide in the jupyter notebook. Error Present in the screenshot came up. It is also coming up while checking signal.

✔️ Expected result

Library should work properly and start checking signal strength for OpenBCI What is the expected result of the above steps?

❌ Actual result

InvalidArgumentsError: Unexpected argument of type <class 'type'> What is the actual result of the above steps?

📷 Screenshots

image 1

JohnGriffiths commented 2 years ago

Hi Shishankjan.

Thanks for sharing this.

It's hard to tell from your screenshots what exactly you did ( eg what did you type on the cli) that raised this error. Can you please clarify that ?

shishankjain commented 2 years ago

For checking signal: eegnb checksiqual -ed cyton @JohnGriffiths

shishankjain commented 2 years ago

After running the test code on the jupyter notebook, I am getting the same issue.

I am facing issue on this line: from eegnb.devices.eeg import EEG

It is not able to import EEG or something.

JohnGriffiths commented 2 years ago

Ok. Looks like everything is correct on the eeg-notebooks side but there is an issue with your brainflow installation.

Can you try:

pip uninstall brainflow

pip install -U brainflow

ipython

from brainflow import BoardShim

Does this throw the same error ?

shishankjain commented 2 years ago

Yes it is also throwing the same error. image @JohnGriffiths

ErikBjare commented 2 years ago

@shishankjain It it hard to figure out the cause of this without the full logs. Please paste them in full instead of screenshots.

oreHGA commented 1 year ago

Closing due to inactivity @shishankjain please feel free to re-open if you still require assistance with your brainflow installation