pimutils / vdirsyncer

📇 Synchronize calendars and contacts.
https://vdirsyncer.pimutils.org/
Other
1.53k stars 160 forks source link

No module named 'aiostream' in python39+ #1022

Open lduchosal opened 1 year ago

lduchosal commented 1 year ago

Before you submit bug reports: https://vdirsyncer.pimutils.org/en/stable/contributing.html

error: Unknown error occurred: No module named 'aiostream' error: Use -vdebug to see the full traceback. debug: File "/usr/local/lib/python3.9/site-packages/vdirsyncer/cli/init.py", line 32, in inner debug: f(*a, **kw) debug: File "/usr/local/lib/python3.9/site-packages/vdirsyncer/cli/init.py", line 126, in sync debug: from .tasks import prepare_pair debug: File "/usr/local/lib/python3.9/site-packages/vdirsyncer/cli/tasks.py", line 8, in debug: from .discover import collections_for_pair debug: File "/usr/local/lib/python3.9/site-packages/vdirsyncer/cli/discover.py", line 8, in debug: import aiostream

Replace :

import aiostream

With : if sys.version_info < (3,9): import aiostream

Fixes the bug, Would you accept PR?

WhyNotHugo commented 1 year ago

You need to install aiostream. Are you installing via pip? If so, use pip install aiostream.