• Re: Cannot initialize Python

    From Gryphon@21:1/101 to x1pepe on Wednesday, June 19, 2024 03:22:01
    On 16 Aug 2023 at 08:54p, x1pepe pondered and said...

    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

    I believe when running the GZ menu command, it is for running MPY mystic python scripts. You could possible rename your 16color.py script to 16color.mpy and add the mystic libs to the script. That *may* work.
    Also I try that:
    Command: (DD) Exec External Program
    Data : /mystic/themes/default/scripts/python3 16color.py

    Data should possibly be "/path/to/python3 /path/to/16color.py"

    ... A house is a place to keep your stuff while you go out and get more stuff

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)