Create own MSN Server (Master Branch)


#1

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 https://gitlab.com/valtron/msn-server/blob/master/CONTRIBUTING.md 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.


#2

have you installed db?


#3

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