ImportError: cannot import name 'MediaSyncer' from 'anki.sync'
See original GitHub issue❯ apy add -t python -d Python -m Basic-22px
reverting to stock json
Traceback (most recent call last):
File "/home/dufferzafar/.local/bin/apy", line 11, in <module>
load_entry_point('apy==0.1', 'console_scripts', 'apy')()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2859, in load_entry_point
return ep.load()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2450, in load
return self.resolve()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2456, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/dufferzafar/.local/lib/python3.8/site-packages/apy/cli.py", line 5, in <module>
from apy.anki import Anki
File "/home/dufferzafar/.local/lib/python3.8/site-packages/apy/anki.py", line 10, in <module>
from anki.sync import Syncer, MediaSyncer, RemoteServer, RemoteMediaServer
ImportError: cannot import name 'MediaSyncer' from 'anki.sync' (/usr/lib/python3.8/site-packages/anki/sync.py)
Haven’t debugged this further. Perhaps anki has been updated? Not sure.
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
anki-sync-server/sync_app.py at master - GitHub
from anki.sync import Syncer, MediaSyncer ... So that 'server' (the 3rd argument) can't get set. Syncer. ... Performs unicode normalization for file names....
Read more >Can't sync to AnkiWeb? : r/Anki - Reddit
The only thing I can think of is if it's a profile naming issue: Back Up (File - Export/AnkiWeb). Make a note of...
Read more >Syncing in Anki: Sounds and Images - YouTube
Your browser can't play this video. ... please ask over on the user forums: https://forums. ankiweb.net 0:00 Uploading from computer …
Read more >Media files may take time to sync - Frequently Asked Questions
Recent Anki and AnkiMobile versions synchronize sounds and images in the background, allowing you to continue using the app while they are transferred....
Read more >ImportError: cannot import name 'sync' - python - Stack Overflow
Turned out that the package installation was broken. So, I reinstalled the package and everything works fine now. Uninstall telethon:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hah, good point; fixing immediately
No problem, thanks for the hints on
pip
. I’ve updated the readme again.