Skip to content

No module named 'ffi' when calling doccano init #1351

@tareefroustom

Description

@tareefroustom

Hi guys, I'm getting this error when calling doccano init, the installation itself is okay with no dependencies errors raised

(base) C:\Users\troustom>doccano init
Traceback (most recent call last):
File "c:\users\troustom\anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\troustom\anaconda3\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\troustom\Anaconda3\Scripts\doccano.exe_main
.py", line 4, in
File "c:\users\troustom\anaconda3\lib\site-packages\backend\cli.py", line 7, in
import gunicorn.app.base
File "c:\users\troustom\anaconda3\lib\site-packages\gunicorn\app\base.py", line 11, in
from gunicorn import util
File "c:\users\troustom\anaconda3\lib\site-packages\gunicorn\util.py", line 8, in
import fcntl
File "c:\users\troustom\anaconda3\lib\site-packages\fcntl.py", line 3, in
import ffilib
File "c:\users\troustom\anaconda3\lib\site-packages\ffilib.py", line 2, in
import ffi
ModuleNotFoundError: No module named 'ffi'

python 3.8.5 on windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions