Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

after installation create-db gives following error #178

Open
3vangel1st opened this issue Mar 21, 2018 · 2 comments
Open

after installation create-db gives following error #178

3vangel1st opened this issue Mar 21, 2018 · 2 comments
Labels

Comments

@3vangel1st
Copy link

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

@tpo-anssi tpo-anssi added the bug label Mar 21, 2018
@tpo-anssi
Copy link
Contributor

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.

@izm1chael
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants