Create own MSN Server (Master Branch)

Hello,
I wanted to create my own MSN Server for experimental reasons, I have installed a Ubuntu Server 18.04.4LTS, and the server-master is been extracted on my machine.
I follow the CONTRIBUTING.md · master · Escargot / Escargot Server · GitLab and when I run python cmd/dbcreate.py, I have this message.

Traceback (most recent call last):
File “cmd/dbcreate.py”, line 2, in
import db
ModuleNotFoundError: No module named ‘db’

Please help.

have you installed db?

Hi @ProGrade, I also came across this error. It tries to import db.py, this file is in the folder of your msn-server.
To fix this you should add: “export PYTHONPATH=path_to_your_server” to your .bashrc file. This file is often located in the home directory of the current user.

If you have changed your .bashrc you will have to reload it using this command: source /home/your_user/.bashrc