dsnopek / anki-sync-server

A personal Anki sync server (so you can sync against your own server rather than AnkiWeb)
GNU Affero General Public License v3.0
741 stars 95 forks source link

Solution for "no module named Anki" on Windows #70

Open gabriellluz opened 6 years ago

gabriellluz commented 6 years ago

If you get the error called "no module named Anki" on Windows, simply copy the anki-bundled folder to

C:\Python27\lib\site-packages (put inside this folder)

Your structure must be like this: C:\Python27\lib\site-packages\anki-bundled

It works flawlessly.

ndinihangu commented 6 years ago

Worked for me. Thanks! :)

snow212-cn commented 5 years ago

No use for me. Nothing solved. The #40 seems to be the only one solution

tushortz commented 5 years ago

I solved the error by copying the anki folder located inside Ankiserver to the C:\Python27\lib\site-packages. If you are using a virtual environment, the path you should copy anki to will be the <myEnvPath>/lib/site-packages