ankicommunity/ankicommunity-sync-server

How to setup ankisyncd

chylli-deriv opened this issue · 1 comments

HI sir,
I cannot setup it correctly on ubuntu server 20.04:
under branch master:

pip install -r src/requirements.txt
ERROR: Invalid requirement: 'THE FILE WAS GENERATED BY POETRY, DO NOT EDIT!' (from line 1 of src/requirements.txt)

under branch develop:

python -m ankisyncd
/usr/bin/python: No module named ankisyncd.__main__; 'ankisyncd' is a package and cannot be directly executed

under tag 2.2.20

pip install -r src/requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'src/requirements.txt'

What's the right step to setup it ?

Fixed by entering src/ directory under develop branch