Dragonfire icon indicating copy to clipboard operation
Dragonfire copied to clipboard

ModuleNotFound

Open EneroPl opened this issue 2 years ago • 1 comments

I enter command python3 -m dragonfire -h or just dragonfire, but it's output this module error and I can't fix it.

Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.8/runpy.py", line 144, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details import(pkg_name) File "/usr/lib/python3/dist-packages/dragonfire/init.py", line 33, in from dragonfire.learn import Learner # Submodule of Dragonfire that forms her learning ability File "/usr/lib/python3/dist-packages/dragonfire/learn.py", line 13, in from tinydb import TinyDB, Query # TinyDB is a lightweight document oriented database ModuleNotFoundError: No module named 'tinydb'

EneroPl avatar Jul 11 '21 15:07 EneroPl

try manually installing the tinydb package with the given version in requirements.txt file run the command -> pip install tinydb==3.9.0.post1 ,in your terminal (within your virtual env if any.)

Pranoypauljr avatar Jan 24 '22 18:01 Pranoypauljr