Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using "doccano init" after "pip install doccano" gives error backend.cli module not found #2351

Open
robertosussex opened this issue May 16, 2024 · 3 comments

Comments

@robertosussex
Copy link

Operating System: Centos 8
Python 3.9.6
SQlite 3.3.5

After pip install doccano and verification that python can import the module doccano, we cannot run doccano init to initialise the db.
In fact doccano from the command line does not work.

Please advice
Khaled and Roberto
Red oak Consulting

Copy link

Would you write your environment? Thank you!

@robertosussex
Copy link
Author

What exactly do you need?
We created a python env after loading python 3.9.6 and sqlite modules
then
source dir/bin/activate

then pip install doccano

At this point it is not clear how to call doccano as in the documentation it is not mentioned any PATH export and typically pip install will not create a standard linux binary.

Can you advice?

@robertosussex
Copy link
Author

Hi,

Interestingly enough, a colleague of mine tried it on a different machine using the system python (no python env or conda environments) and it worked fine. I can only guess that for non trivial environments some aliases/links are not created properly?
Any advice?
Roberto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant