You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm following the set-up instructions. I try make clean reset and get this error.
Traceback (most recent call last):
File "reset-database.py", line 2, in <module>
from libs.db_sqlite import SqliteDatabase
File "/eric/Desktop/Audio fingerprint/audio-fingerprint-identifying-python-master/libs/db_sqlite.py", line 1, in <module>
from db import Database
ImportError: cannot import name 'Database' from 'db' (unknown location)
make: *** [Makefile:10: reset] Error 1
I assume I'm doing something in the wrong order, but db is an empty folder. Just unsure what I'm missing.
The text was updated successfully, but these errors were encountered:
@Scherflinge first of all,it runs in python2(i find out laterly).this is because db directory and db.py under libs share same name,when execute from db import Database,it find Database in the db directory,a error raised.tryfrom libs.db import Database from libs.config import get_config.
i am running this on Linux with pYthon 2.7 still not working make clean reset command with the suggestion also incorporated by @dianaxun
please help asap
I'm following the set-up instructions. I try
make clean reset
and get this error.I assume I'm doing something in the wrong order, but db is an empty folder. Just unsure what I'm missing.
The text was updated successfully, but these errors were encountered: