question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error after fresh installation

See original GitHub issue

ℹ Computer information

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

📝 Provide detailed reproduction steps (if any)

  1. Did fresh installation, new environment, clone, pip install -e .
  2. Started quality check

✔️ Expected result

Channel quality check as per @JohnGriffiths NTCS videos

❌ Actual result

  File "C:\Users\daniele\miniconda3\envs\eeg-notebooks\Scripts\eegnb-script.py", line 33, in <module>
    sys.exit(load_entry_point('eeg-notebooks', 'console_scripts', 'eegnb')())
  File "C:\Users\daniele\miniconda3\envs\eeg-notebooks\Scripts\eegnb-script.py", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "C:\Users\daniele\miniconda3\envs\eeg-notebooks\lib\site-packages\importlib_metadata\__init__.py", line 203, in load
    module = import_module(match.group('module'))
  File "C:\Users\daniele\miniconda3\envs\eeg-notebooks\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "c:\users\daniele\dropbox\code\eeg-notebooks\eegnb\cli\__main__.py", line 9, in <module>
    from .introprompt import intro_prompt
  File "c:\users\daniele\dropbox\code\eeg-notebooks\eegnb\cli\introprompt.py", line 6, 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
ImportError: cannot import name 'BoardShim' from 'brainflow' (C:\Users\daniele\miniconda3\envs\eeg-notebooks\lib\site-packages\brainflow\__init__.py)

This happens whichever command I input, like eegnb checksigqual -ed muse2 or eegnb runexp -ip the muse is streaming ok with bluemuse

📷 Screenshots

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JohnGriffithscommented, Jun 16, 2022

checked and I also had the error before the fix; and pip install now working ok again on my side.

0reactions
danielemarinazzocommented, Jun 16, 2022

works now, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Consistent BSOD errors occurring on fresh install of Windows 10
1. Press the Windows + R keys, type msconfig and click OK; 2. In the System Configuration window, click on the services tab;...
Read more >
[SOLVED] Windows 10 Could Not Complete the Installation + ...
If you have received an error message that says Windows 10 could not complete the installation after updating your operating system, you can...
Read more >
4 Solutions to Fix Windows 10/11 Installation Has Failed
4 Solutions to Fix the "Windows 10/11 installation has failed" Error · Solution 1: Run a Clean Boot Installation · Solution 2: Create...
Read more >
XF 2.2 - Fatal Error on fresh install | XenForo community
Hello everyone, I am trying to do a fresh install of XenForo on my shared hosting account with InMotion hosting. I've searched high...
Read more >
Windows 11 Installation Has Failed: How to Fix This Upgrade ...
Windows 11 installation has failed 0xc1900101 – Users with insufficient disk space on their devices are more likely to encounter the error ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found