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

Problem in prepare_physionet.py #28

Open
ghost opened this issue Jun 4, 2019 · 1 comment
Open

Problem in prepare_physionet.py #28

ghost opened this issue Jun 4, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 4, 2019

Hello akaraspt,

Thank you for your contribution. I got the following error when trying to run the code:

Traceback (most recent call last):
File "prepare_physionet.py", line 15, in
from mne import Epochs, pick_types, find_events
File "L:\Programs\anaconda3\envs\env_py2\lib\site-packages\mne_init_.py", line 22, in
from .utils import (set_log_level, set_log_file, verbose, set_config,
File "L:\Programs\anaconda3\envs\env_py2\lib\site-packages\mne\utils_init_.py", line 23, in
from .fetching import _fetch_file, _url_to_local_path
File "L:\Programs\anaconda3\envs\env_py2\lib\site-packages\mne\utils\fetching.py", line 11, in
from urllib import parse, request
ImportError: cannot import name parse

It seems the dependency library is out of date? Is there any way to counter the problem?
Thank you so much.

@akaraspt
Copy link
Owner

Did you use a different version of Python? The repo is written with Python 2.7.

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

No branches or pull requests

1 participant