Comments (3)
Hi Daniele.
Sorry about this.
This relates to @JadinTredup's updating of FreeEEG board support
First: could you check your brainflow version matches that in the requirements?
Second: check whether that is the latest brainflow version?
Third: if it's not the latest brainflow version, update it and re-run pip install -e .
in the eeg-notebooks folder
from eeg-expy.
Thanks!
I tried to install the required version (which is not the latest one), but got a message of conflict with eeg-notebooks (which if I understood correctly should update automatically, if I installed it with -e.
(eegnb_py37) C:\Users\daniele>pip install brainflow==3.7.2
Collecting brainflow==3.7.2
Downloading brainflow-3.7.2-py3-none-any.whl (17.6 MB)
|████████████████████████████████| 17.6 MB 6.4 MB/s
Requirement already satisfied: nptyping in c:\users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages (from brainflow==3.7.2) (1.3.0)
Requirement already satisfied: numpy in c:\users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages (from brainflow==3.7.2) (1.19.1)
Requirement already satisfied: numpy in c:\users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages (from brainflow==3.7.2) (1.19.1)
Requirement already satisfied: typish>=1.5.2 in c:\users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages (from nptyping->brainflow==3.7.2) (1.9.1)
Installing collected packages: brainflow
Attempting uninstall: brainflow
Found existing installation: brainflow 3.4.3
Uninstalling brainflow-3.4.3:
Successfully uninstalled brainflow-3.4.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
eeg-notebooks 0.2 requires brainflow==3.4.3, but you have brainflow 3.7.2 which is incompatible.
Successfully installed brainflow-3.7.2
If I try to run eegnb runexp anyway I got an error message, requesting the 3.4.3 version
(eegnb_py37) C:\Users\daniele\Dropbox\code\eeg-notebooks>eegnb runexp -ip
run command line prompt script
Traceback (most recent call last):
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages\pkg_resources\__init__.py", line 567, in _build_master
ws.require(__requires__)
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages\pkg_resources\__init__.py", line 884, in require
needed = self.resolve(parse_requirements(requirements))
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages\pkg_resources\__init__.py", line 775, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (brainflow 3.7.2 (c:\users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages), Requirement.parse('brainflow==3.4.3'), {'eeg-notebooks'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\Scripts\eegnb-script.py", line 33, in <module>
sys.exit(load_entry_point('eeg-notebooks', 'console_scripts', 'eegnb')())
File "c:\users\daniele\dropbox\code\eeg-notebooks\eegnb\cli\__main__.py", line 74, in main
cli = CLI(args.command)
File "c:\users\daniele\dropbox\code\eeg-notebooks\eegnb\cli\cli.py", line 9, in __init__
getattr(self, command)()
File "c:\users\daniele\dropbox\code\eeg-notebooks\eegnb\cli\cli.py", line 68, in runexp
from .introprompt import main as run_introprompt
File "c:\users\daniele\dropbox\code\eeg-notebooks\eegnb\cli\introprompt.py", line 4, in <module>
from eegnb.devices.eeg import EEG
File "c:\users\daniele\dropbox\code\eeg-notebooks\eegnb\devices\eeg.py", line 17, in <module>
from brainflow import BoardShim, BoardIds, BrainFlowInputParams
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages\brainflow\__init__.py", line 1, in <module>
from brainflow.board_shim import *
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages\brainflow\board_shim.py", line 4, in <module>
import pkg_resources
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages\pkg_resources\__init__.py", line 3238, in <module>
@_call_aside
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages\pkg_resources\__init__.py", line 3222, in _call_aside
f(*args, **kwargs)
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages\pkg_resources\__init__.py", line 3251, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages\pkg_resources\__init__.py", line 569, in _build_master
return cls._build_from_requirements(__requires__)
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages\pkg_resources\__init__.py", line 582, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "C:\Users\daniele\miniconda3\envs\eegnb_py37\lib\site-packages\pkg_resources\__init__.py", line 770, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'brainflow==3.4.3' distribution was not found and is required by eeg-notebooks
from eeg-expy.
Update, I reinstalled eegnb manually after installing brainflow 3.7.2 and it works
from eeg-expy.
Related Issues (20)
- Installing eeg notebooks on Mac M1 HOT 1
- Idea to implement for EEG decoding the option to convert it to DFT? HOT 1
- Hello, I have a basic question about another project HOT 1
- N170 experiment doesn't work HOT 1
- N170 Load and Visualize Data HOT 5
- Research showing the influence of the used SSVEP pattern image HOT 2
- Error with installing dukpy HOT 3
- Can't run experiments from CLI interface HOT 4
- pyglet version incompatibility mac HOT 4
- Implement version + release schedule HOT 2
- aux channel with muse2_bfn device
- P300 experiment explanation: "...high or low probability..."
- Legend items order when using diff_waveform in plot_conditions HOT 1
- Support for Oculus/Meta Quest VR for N170 and other experiments
- is it possible to save the PPG data from Muse 2 (with bluemuse and/or brainflow)? HOT 2
- Problems with saving data file using brainflow HOT 2
- AttributeError: module 'eegnb.experiments.visual_ssvep.ssvep' has no attribute 'present' HOT 3
- Incomplete outputfile SSAEP_onefreq with Bluemuse HOT 1
- `eeg-notebook` => `eeg-expy` rename
- Neurosity crown supported in code, not yet listed in doc
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eeg-expy.