Code Monkey home page Code Monkey logo

Comments (5)

mystiquewolf avatar mystiquewolf commented on June 21, 2024 1

Well actually i'm using the official https://docs.ankiweb.net/sync-server.html so probably came here by mistake.

from ankicommunity-sync-server.

VikashKothary avatar VikashKothary commented on June 21, 2024

Hi @jabobian,

Thank you for raising this issue.

So the first thing I want to check is that you are using the latest version of the server i.e. the develop branch? This version of the anki-sync-server will install anki directly from PyPI.

I would also like to confirm your Python version. The latest version of anki requires a minimum Python version of 3.8.

Finally, can you provide your operating system? It looks like you're using Anaconda (Miniconda) on Windows. What command are you using to install the requirements?

Once you provide the following information, we can look into this further.

from ankicommunity-sync-server.

jabobian avatar jabobian commented on June 21, 2024

Hi, @VikashKothary
My Python version 3.7. I will try to install Python 3.8.
OS is Win 10, with Miniconda. The commands used are

  1. conda clone -n ankiweb --clone kivy37
    // kivy37 is my earlier environment with Python37
  2. conda activate ankiweb
  3. then from https://github.com/ankicommunity/anki-sync-server
    download zip, unzip to D:\Soft\Language\Anki\anki-sync-server
  4. cd D:\Soft\Language\Anki\anki-sync-server
  5. (ankiweb) D:\Soft\Language\Anki\anki-sync-server>pip install -r src/requirements.txt
    Successfully installed beautifulsoup4-4.9.3 decorator-4.4.2 distro-1.5.0 importlib-metadata-3.7.0 markdown-3.3.3 psutil-5.8.0 requests-2.25.1 send2trash-1.5.0 soupsieve-2.2 typing-extensions-3.7.4.3 webob-1.8.6 zipp-3.4.1
  6. edit ankisyncd.conf
  7. install ngnix for windows, and edit conf
  8. cd nginx-1.19.7
    start nginx
  9. cd ../src
    python -m ankisyncd

from ankicommunity-sync-server.

VikashKothary avatar VikashKothary commented on June 21, 2024

Did Python 3.8 work for you?

from ankicommunity-sync-server.

mystiquewolf avatar mystiquewolf commented on June 21, 2024

Hello, I'm not the OP but i have the same issue. Python is 3.10.6. Running Ubuntu 22.04 Jammy inside docker.
Error /srv/anki-syncserver/anki-venv/bin/python: Error while finding module specification for 'anki.syncserver' (ModuleNotFoundError: No module named 'anki')

from ankicommunity-sync-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.