vurorange.blogg.se

Centos install python 3.7
Centos install python 3.7





centos install python 3.7

Check whether libpython3.7m.so.1.0 exists in /usr/lib64 or /usr/lib.After the configuration, compilation, 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 decompressed folder, create an installation directory, and run the configuration, build, and installation commands.Run the following command to go to the download directory and decompress the source code package: tar -zxvf Python-3.7.5.tgz.Run the wget command to download the source code package of Python 3.7.5 to any directory of the installation environment.Otherwise, use the following procedure to install Python 3.7.5: If the following information is displayed, Python has been installed. Run the python3.7.5 -version and pip3.7.5 -version commands to check whether Python has been installed.

centos install python 3.7 centos install python 3.7

The development kit depends on the Python environment.

  • Check whether the Python development environment is installed.
  • If the CMake version installed using the preceding method is earlier than 3.5.1, see Installing CMake 3.5.2. Run the following command to install the extension package: sudo yum install epel-release In the preceding steps, if the error message "No package libopenblas available" is displayed during the installation of openblas-devel, you need to install the extension package of the Linux enterprise edition and then install openblas-devel again. If information similar to the following is displayed (the version number varies according to the actual OS), the tool has been installed. Run the following commands to check whether the dependencies such as GCC, Make, and Python are installed: gcc -version







    Centos install python 3.7