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 [2019/02/02 16:13] – g00r00 | python_install [2019/03/10 09:18] – [Troubleshooting] g00r00 | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Installation and Requirements ===== | ===== Installation and Requirements ===== | ||
- | Mystic requires that Python 2.7 is installed on your system | + | Mystic BBS has an embedded Python scripting engine called Mystic Python. |
- | + | ||
- | Most Linux desktop distributions and Apple' | + | **Note:** The "bit level" of Python |
+ | |||
+ | In Windows, Python needs to be installed by downloading it from the Website: | ||
+ | |||
+ | Most Linux desktop distributions and MacOS will come with Python 2.7 installed by default, and in some cases full Mystic Python functionality will work out of the box without additional steps. | ||
- | **Note: | + | If you are using a Linux operating system |
==== Library Validation / Installation ==== | ==== Library Validation / Installation ==== | ||
Line 89: | Line 93: | ||
The most common Windows issue is that the wrong version of Python is installed. | The most common Windows issue is that the wrong version of Python is installed. | ||
+ | |||
+ | If you get an error similar to " | ||
+ | means you need to set your Python environment variables. | ||
+ | how to do this in Windows. | ||
=== Unix === | === Unix === | ||
Line 98: | Line 106: | ||
**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.** | **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. | + | When Python is compiled wrong, it will have issues loading some modules resulting in an error when you execute the Mystic Python script. |
+ | for embedded applications, | ||
- | The following steps can be used to reinstall Python 2.7 on Ubuntu 18.04 LTS: | + | The following steps can be used to reinstall Python 2.7 tested |
**INSTALL PREREQUISITES: | **INSTALL PREREQUISITES: | ||
Line 112: | Line 121: | ||
* sudo tar xzf Python-2.7.15.tgz | * sudo tar xzf Python-2.7.15.tgz | ||
* cd / | * cd / | ||
- | * sudo ./ | + | * sudo ./configure -enable-optimizations -enable-unicode=ucs4 -enable-shared |
* sudo make install | * sudo make install | ||
- | |||
- | **CREATE LINK TO PYTHON:** | ||
- | * sudo ln -s / | ||
python_install.txt · Last modified: 2023/01/08 12:24 by g00r00