Skip to content
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

[BUG] Windows is not installing last two moabb versions #670

Open
shayanjalilpour opened this issue Oct 28, 2024 · 8 comments
Open

[BUG] Windows is not installing last two moabb versions #670

shayanjalilpour opened this issue Oct 28, 2024 · 8 comments
Labels

Comments

@shayanjalilpour
Copy link

Hi, I encountered errors while loading the datasets, and it seems that the errors vary for different datasets.

For example, I tried to run this code:

import warnings

import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns
from mne.decoding import CSP
from sklearn.discriminant_analysis import LinearDiscriminantAnalysis as LDA
from sklearn.pipeline import make_pipeline
import moabb
from moabb.datasets import Cho2017
from moabb.evaluations import WithinSessionEvaluation
from moabb.paradigms import LeftRightImagery
moabb.set_log_level("info")
warnings.filterwarnings("ignore")
dataset = Cho2017()
dataset.subject_list = [1, 2, 3]
sessions = dataset.get_data(subjects=[2])

And received the following error:

TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

@shayanjalilpour
Copy link
Author

And different error for :

from moabb.paradigms import SSVEP
dataset = Wang2016()
dataset.subject_list = [1, 2, 3]
sessions = dataset.get_data(subjects=[2])

Error: error_perm: 550 Could not get file size.

@bruAristimunha
Copy link
Collaborator

Can you please provide your moabb version? @shayanjalilpour

@shayanjalilpour
Copy link
Author

Can you please provide your moabb version? @shayanjalilpour

it's 1.0.0 version.

@bruAristimunha
Copy link
Collaborator

okay @shayanjalilpour.

I tried to reproduce with the last version, and everything is working. Code here:
https://colab.research.google.com/drive/1mYrRprG7ZF91Ek6AD9VyoT1mR48ZJLrI?usp=sharing

I understand that Windows and Linux may have differences in downloading, but no one on the moabb team uses Windows, to the best of my knowledge. Can you try to update your moabb version and try again?

@shayanjalilpour
Copy link
Author

@bruAristimunha

Thanks for the response.

It seems that it works in Google Colab, so probably the error only appears in Windows.

Also, versions 1.1.0 and 1.1.1 can't be installed on Windows :)

@bruAristimunha
Copy link
Collaborator

That's interesting! I'll convert the issue to address that.

@bruAristimunha bruAristimunha changed the title error in loading the datasets [BUG] Windows is not installing last two moabb versions Oct 28, 2024
@shayanjalilpour
Copy link
Author

the

Could you please solve this error too (it is Google Colab)?

Capture

@Farmer4A4
Copy link

I'm using the MOABB on Windows now. It seems fine, except some packages won't update for Windows, such as tensorflow.
If you have to use it on Windows, try WSL (Windows Subsystem for Linux) instead like me. It works as well for sure, but a little bit inconvenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants