When I tried to install the Python module on the school server, I couldn't, so I installed the entire Python locally.
Download Python with the wget command. [ wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz ]
Four. make. Specify the installation location with configure (here / home directory / local /). [ cd Python-3.6.3 ] [./configure --prefix = / home directory / local / python] [ make ] [ make install]
Five. Pass through. [ vi ~/.bash_profile ]
Add the following sentence. [export PATH = $ PATH: / home directory / local / python / bin]
Installation is complete at this point!
〇 How to use [/ Home directory / local / python / bin / python3 filename]
〇Installation of library [/ Home directory / local / python / bin / pip3 install package] The main ones should be included from the beginning. However, pip needed an update.
Recommended Posts