Subj : Re: Really in need of help...
To : BadAssBradders
From : esc
Date : Sun Dec 04 2022 03:14 pm
Ba> I cannot for the life of me figure out why I am getting a Python version
Ba> mismatch error on my scripts within my BBS, as well as not being able to
Ba> run imported modules. I have Python 2.7 and 3.5 both installed. The
Ba> imported modules work just fine on the Raspberry Pi from the respective
Ba> python shells, ie no errors. Yet when I add them into my scripts I get
Ba> the error...
Hey there. So, there are a couple of nuances with Mystic and python.
First, I'd frankly just flat out forget about python3 for now. The implementation is a bit unfinished and furthermore, running python2 and python3 scripts in one connection will cause your BBS to crash. So just stick with python2.
Now, there are docs on the wiki about building python2 manually to support having imported modules work correctly. I didn't actually need to do this myself but your mileage may vary. Check out the end of the Mystic python wiki page for build instructions:
http://wiki.mysticbbs.com/doku.php?id=python_install
The final thing I'd check out is this - are you running mystic with 'sudo'? If so, mystic is looking in /root/ for python modules and not looking in your user home for modules. I'd avoid using sudo at all because it will potentially cause other problems, and there are other ways to launch mystic as a regular user and get access to the <1024 ports.
--- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
* Origin: m O N T E R E Y b B S . c O M (21:4/173)