-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test installation #27
Comments
Hello, thank you for your efforts on this interesting project. I encounter the installation issue mentioned in the attached file. Thanks in advance for your help. |
I received what might be a related error to Elisabeth. We both have the error:
My problem seems to be a problem with the wheels for pywinhook, scikit-learn, tables, and numexpr. The pywinhook error reads:
For scikit-learn the error reads:
The issues with tables and numexpr seems to be numpy related (no module named numpy), which may be related to the failed pywinhook or scikit-learn installs. However, my build for the numpy wheel appears to have been successful. I'm using Windows 10 Home Version 10.0.18363 Build 18363. I've built a fresh conda env as suggested in the docs. I'm running the commands from a conda prompt. A txt file with the error is attached as well. |
what Python version are you using? For newbs like me: I kept the rest of the installation steps as described in the documentation (only using eegnb instead of eeg-notebooks):
Subsequently using the following did the rest of the installation (make sure you are inside the eeg-notbook folder): |
Ahh, yes I had been using 3.9, but was able to successfully install with 3.7. Apologies, should have mentioned that. I also tried with 3.8 to see how it went, which solved the issues with numpy/numexpr/scikit-learn, but still ran into the pywinhook error. |
Thanks for this - @verakye gave the correct answer: need to set python version to 3.7 when creating the conda env. Have added this to the instructions. |
#32 fixes the pywinhook-related build issues for Python 3.7-3.8 by using prebuilt wheels. |
@JohnGriffiths I'm not sure where you updated the instructions, but I made a PR with the same change: #51 I also expanded #32 to also fix issues with Python 3.8 (and 3.9, on Linux at least) |
Hey! Great effort on this amazing project. I encountered an issue while running the experiments. I tried running the n170 and p300 with a ganglion board but when running the [experiment].present() line of code for presenting the experiment, nothing happens. Except that the screen is frozen, 2 black windows appears and only when I stop the kernel from the jupyter notebook the black windows can be closed. I'm using Win10 and python 3.7.9. |
Hi @rmib200 , out of curiosity, do you have a single display or multiple external monitors connected to your machine? I think I may have encountered a similar issue when my laptop was connected to 2 external displays. Switching to running on just my laptop (1 display) fixed it for me - (although I used a different BCI headset). |
@oreHGA I tried with a single display (I use 2, but disconnected the second to do a test) and it was worse because I could no longer stop the kernel. The whole screen was unresponsible. What headset where you using? Besides, I tried eeg notebooks before, around dicember 2020 and it worked fine (with 2 screens, the one in my laptop was showing the stimuli), until I updated my python to 3.9 and had a lot of problems. I resinstaled eegnb with a 3.7 version now but I got this issue. |
I use the Neurosity Notion 2. I can try to re-run the experiment locally sometime this week to see if I can reproduce your issue on the on a fresh install with a similar env. setup. cc’ing @JohnGriffiths (or anyone who can test with a ganglion board) to see if it’s a known issue |
@oreHGA By the way, I just tried removing the env altogether, reinstalling it and got the same result. I also tried with my muse S, and still blank screen. |
@oreHGA I think I might have found a way around. I reorganized my screens so the 2nd screen is now the default screen and my laptop is the secondary. I was able to run the experiment with both my devices. |
I'm not sure about behaviour with 2 screens, this is untested as far as I'm aware. In any case the stim presentation issues you are having should be unrelated to the EEG system. You can test this behaviour more directly by just calling the stim presentation without an EEG stream from eegnb.experiments.visual_n170 import n170
n170.present(duration=10) Regarding screen freezing etc.: psychopy disables pretty much all controls when presenting. It takes over. Hitting escape should cancel, but that doesn't always work in my experience. In windows if you do things like double click and press random keys during a presentation that can cause python to crash. In any case when you're testing things you should set short durations, e.g. 10 seconds above, so that if you get an apparent freeze that lasts for a long time you know it isn't because it's just waiting until the end of a 2 or 5 min block run. Not sure how helpful this is but maybe it is. Interested to know about this 2-screen behaviour actually. |
closing as is being implemented in #263 |
We have worked to clarify and streamline the installation process and instructions for
eeg-notebooks
.However we know there are still some problems that people occasionally encounter.
These may be due to a) lack of clarity in some of the instructions, or b) actual installation errors
We are asking all new contributors to run through the installation instructions here, and leave feedback on this issue thread. Note that this includes installation of BlueMuse for windows users.
We would like to hear any general feedback you have on things that are unclear / incorrect and any suggested improvements.
We will also help you with installation errors you encounter here.
The text was updated successfully, but these errors were encountered: