TIP: Click on subject to list as thread! ANSI
echo: mystic
to: g00r00
from: Travis Mehrer
date: 2022-04-16 12:58:00
subject: Re: RPi & Python 3

 g0> I don't know if this would be a factor in your case, but in the past I
 g0> have struggled having multiple Python installations in the same Linux
 g0> VMware, and I have completed destroyed installations by trying to
 g0> install different versions of Python on top of or to replace what the OS
 g0> ships with.
 g0> 
 g0> I wouldn't consider myself an expert in that area though, but I have
 g0> found it to be tricky to touch Python's default installations without
 g0> blowing up things badly enough that I end up completely reinstalling
 g0> Ubuntu.

Thank you again, for your reply g00r00! So, FINALLY after a little pulling out of hair, I managed to figure out what is going on.

After a new install on the same Pi started out working, and then failed after I started migrating my menus to the new board; it struck me.

In my prelogin menu I have a simple python2 script running. And it was the mixture of Python2 and 3 that was breaking things for me. After fixing a text file my script was importing (had some sort of broken UTF-8 enconding in it) I was able to run this script as Python3 and then continue to use Python 3.

TL;DR: Mixing Python2 and Python3 in Mystic (RPi OS Bullseye) can break things. Lesson learned, now I can finally move on with Python3 and Mystic.

blade

... User Error: Replace user and hit any key to continue...

--- Mystic BBS v1.12 A48 2022/03/26 (Raspberry Pi/32)
                                                                                            
* Origin: CaNerDUH BBS (1:134/303)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.