![]() ![]() After the configuration, build, and installation commands are executed, the installation package is output to the /usr/local/python3.7.5 directory, and the libpython3.7m.so.1.0 dynamic library is output to the /usr/local/python3.7.5/lib/libpython3.7m.so.1.0 directory. This document uses -prefix=/usr/local/python3.7.5 as an example. ![]() enable-loadable-sqlite-extensions is used to load the sqlite-devel dependency. enable-shared is used to build the libpython3.7m.so.1.0 dynamic library. prefix specifies the Python installation path. configure -prefix=/usr/local/python3.7.5 -enable-loadable-sqlite-extensions -enable-shared Go to the new folder and run the following configuration, build, and installation commands: cd Python-3.7.5.Go to the download directory and decompress the source package: tar -zxvf Python-3.7.5.tgz.Run the wget command to download the source package of Python 3.7.5 to any directory on the server where AMCT is located: wget.If python3-tk fails to be installed, see An Error Message Is Displayed During python3-tk Installation. If the Python 3.7.5 environment has been installed in the user's OS before the libsqlite3-dev installation, you need to rebuild the Python environment. Libsqlite3-dev must be installed before the Python installation. ![]() Sudo apt-get install -y make zlib1g zlib1g-dev build-essential libbz2-dev libsqlite3-dev libssl-dev libxslt1-dev libffi-dev openssl python3-tk If the following information is displayed, the environment is available. Run the python3.7.5 -version, python3.7 -version, pip3.7.5 -version, and pip3.7 -version commands to check whether the environment is available. Check that the Python 3.7.5 development environment is available. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |