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

ModuleNotFound #157

Open
EneroPl opened this issue Jul 11, 2021 · 1 comment
Open

ModuleNotFound #157

EneroPl opened this issue Jul 11, 2021 · 1 comment

Comments

@EneroPl
Copy link

EneroPl commented Jul 11, 2021

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'

@Pranoypauljr
Copy link

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.)

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

2 participants