• Re: python (compiled wrong)

    From Smooth@10:103/0.2 to nugax on Thursday, April 30, 2020 10:38:17
    No I didnt. Can I uninstall and reinstall using apt? Debian os.

    This is also in the wiki, but g00r00 posted this a while back. I'm
    reposting it. I had the same issue that you ran into nugax, and this fixed
    it for me. Thanks to g00r00 for posting this on ArakNet.

    ---

    NOTE: Some Linux distributions come with a pre-installed Python 2.7 or a package-based install of Python 2.7 that is not compiled in a way that works properly with embedded Python applications.

    When Python is compiled wrong, it will have issues loading some modules resulting in an error when you execute the Mystic Python script. One of the most popular operating systems (Ubuntu) unfortunately seems to suffer from
    this problem, and the only way to solve it is to recompile Python 2.7
    properly. The enable-shared option is required for embedded applications, and also the unicode size may need to be either ucs2 or ucs4.

    The following steps can be used to reinstall Python 2.7 tested on a fresh Ubuntu 18.04 LTS:

    INSTALL PREREQUISITES:
    sudo apt-get update
    sudo apt-get install build-essential checkinstall
    sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
    COMPILE PYTHON:

    cd /usr/src
    sudo wget https://www.python.
  • From nugax@10:102/1 to All on Thursday, April 30, 2020 14:43:42
    Hello, Smooth.
    On 4/30/20 5:38 AM you wrote:

    No I didnt. Can I uninstall and reinstall using apt? Debian os.
    This is also in the wiki, but g00r00 posted this a while back. I'm reposting it. I had the same issue that you ran into nugax, and
    this fixed it for me. Thanks to g00r00 for posting this on
    ArakNet.

    Ok thanks. Ill reinstall. Maybe my python will work then! :)

    --- NOTE: Some Linux distributions come with a pre-installed Python
    2.7 or a package-based install of Python 2.7 that is not compiled
    in a way that works properly with embedded Python applications.
    When Python is compiled wrong, it will have issues loading some
    modules resulting in an error when you execute the Mystic Python
    script. One of the most popular operating systems (Ubuntu)
    unfortunately seems to suffer from this problem, and the only way
    to solve it is to recompile Python 2.7 properly. The enable-shared
    option is required for embedded applications, and also the unicode
    size may need to be either ucs2 or ucs4. The following steps can be
    used to reinstall Python 2.7 tested on a fresh Ubuntu 18.04 LTS:
    INSTALL PREREQUISITES: sudo apt-get update sudo apt-get install build-essential checkinstall sudo apt-get install
    libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev
    tk-dev libgdbm-dev libc6-dev libbz2-dev COMPILE PYTHON: cd /usr/src
    sudo wget
    https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tgz sudo tar
    xzf Python-2.7.15.tgz cd /usr/src/Python-2.7.15 sudo ./configure -enable-optimizations -enable-unicode=ucs4 -enable-shared sudo make install
    |12_.. .
    |12/ |15smo|11oth |03__ _.|13.|12. |14. |12\_.. .|07<
    |15dungeon|11BBS |07> |03�|10� --- Mystic BBS v1.12 A46 2020/03/18 (Windows/64) * Origin: // Dungeon BBS >> Deep In The Darkness! (10:103/0.2)

    --
    Sincerely,
    Chad Adams

    -- HotdogEd v2.13.5/Android

    --- Mystic BBS/NNTP v1.12 A46 2020/04/13 (Linux/64)
    * Origin: The ByteXchange BBS | bbs.thebytexchange.com (10:102/1)