python_install
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
python_install [2018/01/01 14:27] – g00r00 | python_install [2019/02/02 14:38] – [Troubleshooting] g00r00 | ||
---|---|---|---|
Line 89: | Line 89: | ||
The most common issue in Unix based platforms is that a link is not created to the Python library. | The most common issue in Unix based platforms is that a link is not created to the Python library. | ||
+ | |||
+ | Like the Windows version, another issue some people have ran into is that their bit level of Python does not match that of Mystic which can cause crashes when a script is attempting to execute. | ||
+ | |||
+ | **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.** | ||
+ | |||
+ | The solution to this issue is to recompile Python properly on your own. The following steps can be used to reinstall Python 2.7 on 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:// | ||
+ | cd / | ||
+ | sudo ./configure --enable-optimizations --enable-unicode=ucs4 --enable-shared | ||
+ | sudo make install | ||
+ | |||
+ | CREATE LINK TO PYTHON: | ||
+ | sudo ln -s / | ||
+ |
python_install.txt · Last modified: 2023/01/08 12:24 by g00r00