• Getting Python to work with Mystic

    From Gryphon@21:1/101 to All on Wed Jun 19 15:11:09 2024
    Hi All,
    I've been trying to get python to work with mystic and I'm not having any luck and I'm hoping that I can get some assistance here.

    I'm running Ubuntu 24.04LTS x86_64 and I have only python3 installed. No python2 is installed. I'm running Mystic A49 L64.

    I've followed the instructions as well as I can but still can't seem to get it to work.

    I've added /lib/x86_64-linux-gnu/libpython3.12.so to the Python 3 Library field in the mystic config, but I've never been clear if that is supposed to hold the path to the libs or the full path/lib.so file. Either way, I've tried both and I still get "Cannot initialize Python, press a key"

    Do I need to restart MIS after each change? Do I need to set some environment variables?

    Any help would be appreciated.

    ... Hard work never killed anyone but why take a risk?

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Gryphon@21:1/101 to Avon on Fri Jun 21 17:50:26 2024
    On 20 Jun 2024 at 11:11a, Avon pondered and said...

    On 19 Jun 2024 at 03:11a, Gryphon pondered and said...

    Hi All,

    Hi there, nice to see you active again :)

    I've been trying to get python to work with mystic and I'm not having any luck and I'm hoping that I can get some assistance here.

    what version of Mystic are you using?

    I'm using mystic a49 l64 on ubuntu 24.04.

    I have to be honest, I'm not hopeful that it can be fixed. I can't get python2 installed at all, so I'm left with only python3. I had a mind to rebuild my VM with an older version of Ubuntu or maybe even debian or fedora. I did try it with centos9 but it failed there as well.

    ... The reason Santa is so jolly is because he knows where the bad girls live

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Avon@21:1/101 to Gryphon on Thu Jun 20 23:11:13 2024
    On 19 Jun 2024 at 03:11a, Gryphon pondered and said...

    Hi All,

    Hi there, nice to see you active again :)

    I've been trying to get python to work with mystic and I'm not having
    any luck and I'm hoping that I can get some assistance here.

    what version of Mystic are you using?

    Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Avon@21:1/101 to Gryphon on Tue Jun 25 07:52:57 2024
    On 21 Jun 2024 at 05:50a, Gryphon pondered and said...

    I'm using mystic a49 l64 on ubuntu 24.04.

    if you're playing with a pre-alpha it may be an issue with that - just not sure.

    I recall g00r00 had made some changes to the way Mystic should 'just work' with Python without the need to point to where libraries were installed etc.

    Perhaps it may pay to try A48 and see how you go?

    In my case I have no paths specified for Python2 or 3 in my settings and fortunately it is 'just working'

    Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz

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