![]() ![]() ![]() # If multiple Python 3 versions exist in the user environment, specify Python 3.7.5.Įxport PATH=/usr/local/python3.7. Run the following commands in the current terminal window to set environment variables: # Set the Python 3.7.5 library path.Įxport LD_LIBRARY_PATH=/usr/local/python3.7.5/lib:$LD_LIBRARY_PATH If Python is installed by the root user:ĪMCT is installed by the root user.Set the Python 3.7.5 environment variables.Set the soft links: sudo ln -s /usr/local/python3.7.5/bin/python3 /usr/local/python3.7.5/bin/python3.7.5.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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |