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.
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'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.
Hi Gryphon
I hit this today when installing a new instance of Mystic on a fresh
build of Ubuntu server (22.04 in my case)
There seems to be a dependancy issue somewhere in the Mystic code. If
you do not have Python2 installed the
mystic-bbs library will not load, so Python3 will not work.
May not be helpful on 24.xx, not sure if they allow Python2 to be installed from standard repositories??
-DJDave
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'
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. python2 is installed. I'm running Mystic A49 L64.
I've followed the instructions as well as I can but still can't seem get it to work.
Hey Gryphon,
I had the same issue. The problem was that Python 2.7.18 did not
install the the /usr/lib/x86_64-linux-gnu/libpython2.7.so.1 file where I point (and I think Mystic looks for) the python libraries. libpython3.10.so.1 was there.
installing:
sudo apt-get install python2.7-dev
I think that is all I needed and it did the trick. Not sure if that is your issue specifically? I also point mystic in config directly to both .s0.1 files for python 2 and 3.
when I do sudo apt-get install python2.7-dev, I get a message that it is not found. This is Ubunto 24.04 LTS.
Pretty soon, you will have to compile Python 2.7 from source on every distro, as they are in the process (and have been for years, really) of phasing out 2.x for 3.x. You can get the latest "bugfix" version from
2019 here:
https://www.python.org/downloads/release/python-2716/
https://www.python.org/downloads/release/python-2716/
I noticed that there's a 2.7.18 release. Should I stick with 2.7.16 or
go with the 2.7.18?
On Tue, 9 Jul 2024 13:17:42 +1200, you wrote:
when I do sudo apt-get install python2.7-dev, I get a message that it not found. This is Ubunto 24.04 LTS.
Pretty soon, you will have to compile Python 2.7 from source on every distro, as they are in the process (and have been for years, really) of phasing out 2.x for 3.x. You can get the latest "bugfix" version from
2019 here:
https://www.python.org/downloads/release/python-2716/
Sysop: | Gary Ailes |
---|---|
Location: | Pittsburgh, PA |
Users: | 132 |
Nodes: | 5 (0 / 5) |
Uptime: | 108:58:23 |
Calls: | 733 |
Files: | 2,171 |
Messages: | 81,483 |