Can anyone help with this situation?
I'm running Mystic on Windows 11 and my
Mystic Python mods .mpy scripts error out!
I get this error: Cannot initialize Python press a key.
Hi guys!I've found that python3 does not play well with mystic. Try using python2 code.
I am trying to exec a phyton program in Mystic. I do that:
Command: (GZ) Execute Python3 Script
Data : /mystic/themes/default/scripts/16color.py
...and the error I get its: Cannot initialize Python
Also I try that:
Command: (DD) Exec External Program
Data : /mystic/themes/default/scripts/python3 16color.py
...but nothing happens
In Linux console: python3 16color.py (ENTER) it's works.
I have my board in a Raspberry PI4, Mystic BBS 1.12 A48
Thanxs in advance :D
--- Mystic BBS v1.12 A48 (Raspberry Pi/32)
* Origin: Sotano Msx BBS (21:1/150)
Also I try that:
Command: (DD) Exec External Program
Data : /mystic/themes/default/scripts/python3 16color.py
I am trying to exec a phyton program in Mystic. I do that:
Command: (GZ) Execute Python3 Script
Data : /mystic/themes/default/scripts/16color.py
$ which python3In my case works: $ whereis python3
/usr/bin/python3
Command | (DD)
Data | /usr/bin/python3 /mystic/themes/default/scripts/16color.py
Hi!
$ which python3In my case works: $ whereis python3
/usr/bin/python3
Command | (DD)
Data | /usr/bin/python3 /mystic/themes/default/scripts/16color.py
Yes! That's works!
Thanks!
Hi guys!
I am trying to exec a phyton program in Mystic. I do that:
Command: (GZ) Execute Python3 Script
Data : /mystic/themes/default/scripts/16color.py
Also I try that:
Command: (DD) Exec External Program
Data : /mystic/themes/default/scripts/python3 16color.py
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 96 |
Nodes: | 16 (1 / 15) |
Uptime: | 02:21:27 |
Calls: | 4,608 |
Calls today: | 2 |
Files: | 8,491 |
Messages: | 349,595 |