DCASE-REPO / DESED_task

Domestic environment sound event detection task
MIT License
126 stars 67 forks source link

ImportError: cannot import name 'FastChildWatcher' from 'asyncio' #75

Open adielashrov opened 1 year ago

adielashrov commented 1 year ago

Hello,

I'm trying to execute the "generate_dcase_task4_2023.py".

  1. I've created a Conda environment by running the script "conda_create_environment.sh" line by line.
  2. I've also installed the desed task module ("pip install desed")
  3. When I run the script with the --only_strong option, I receive the following error:

(dcase2023) C:\Users\adiel\Documents\Research\DESED_task\recipes\dcase2023_task4_baseline>python generate_dcase_task4_2023.py --only_strong Traceback (most recent call last): File "generate_dcase_task4_2023.py", line 12, in <module> import desed File "C:\ProgramFilesAdiel\Anaconda\envs\dcase2023\lib\site-packages\desed\__init__.py", line 1, in <module> from .download import ( File "C:\ProgramFilesAdiel\Anaconda\envs\dcase2023\lib\site-packages\desed\download.py", line 1, in <module> from asyncio import FastChildWatcher ImportError: cannot import name 'FastChildWatcher' from 'asyncio' (C:\ProgramFilesAdiel\Anaconda\envs\dcase2023\lib\asyncio\__init__.py)

I'm using Anaconda, Pycharm, and Windows 10 Home.

I'm attaching the environment installed packages (pip freeze)

Regards,

Adiel pip_freeze.txt

florian-angulo commented 1 year ago

Hello Adiel,

Please check https://github.com/turpaultn/DESED/issues/60 and let us know if this solves your problem.