polichombr icon indicating copy to clipboard operation
polichombr copied to clipboard

after installation create-db gives following error

Open 3vangel1st opened this issue 6 years ago • 2 comments

Traceback (most recent call last): File "./utils/db_create.py", line 14, in from poli import app, db ImportError: No module named poli

3vangel1st avatar Mar 21 '18 09:03 3vangel1st

Hi, this is a common problem previously seen in #106 #107 #108 and it's caused by Python module loading mechanism.

A workaround is to add the polichombr root directory in Python's path. Example:

export PYTHONPATH=`pwd`:$PYTHONPATH

Thanks, T.

tpo-anssi avatar Mar 21 '18 09:03 tpo-anssi

I am having this exact issue at the moment, export

PYTHONPATH=pwd:$PYTHONPATH

Tried the above and still no luck, on Ubuntu 16.04 any further solutions

izm1chael avatar Nov 15 '19 21:11 izm1chael