[Python] Linux下python install
python install
windows安裝下載好了軟體後,下一步下一步安裝就好了.
如下是linux安裝.
[root@mysql ~]# wget
[root@mysql ~]# tar -xvf Python-3.6.0.tar.xz
[root@mysql Python-3.6.0]# ./configure --prefix=/usr/local/python36
[root@mysql Python-3.6.0]# make
[root@mysql Python-3.6.0]# make install
/root/.bashrc中加入如下快捷方式:
alias python3='/usr/local/python36/bin/python3.6'
[root@mysql bin]# source /root/.bashrc
[root@mysql bin]# python3
Python 3.6.0 (default, Mar 2 2017, 22:51:01)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux
Type "help", "copyright", "credits" or "license" for more information.
windows安裝下載好了軟體後,下一步下一步安裝就好了.
如下是linux安裝.
[root@mysql ~]# wget
[root@mysql ~]# tar -xvf Python-3.6.0.tar.xz
[root@mysql Python-3.6.0]# ./configure --prefix=/usr/local/python36
[root@mysql Python-3.6.0]# make
[root@mysql Python-3.6.0]# make install
/root/.bashrc中加入如下快捷方式:
alias python3='/usr/local/python36/bin/python3.6'
[root@mysql bin]# source /root/.bashrc
[root@mysql bin]# python3
Python 3.6.0 (default, Mar 2 2017, 22:51:01)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux
Type "help", "copyright", "credits" or "license" for more information.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-2134877/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux下python pip install失敗LinuxPython
- Install python on AIX 7PythonAI
- How to install Python module?Python
- python install zabbix.4.0Python
- linux下install vmware toolsLinux
- linux下安裝pythonLinuxPython
- Linux下學習pythonLinuxPython
- linux下python 模組呼叫LinuxPython
- Python:conda install 和pip install的區別Python
- linux下安裝python 3.6LinuxPython
- linux下安裝python3LinuxPython
- Linux下Python3安裝LinuxPython
- Linux下安裝Python3.3.0LinuxPython
- python不識別install如何解決Python
- PyCharm - Linux 下最好的 Python IDEPyCharmLinuxPythonIDE
- Linux下Python程式Killed,分析其原因LinuxPython
- linux下qt用c++呼叫pythonLinuxQTC++Python
- Linux下python2.7安裝pipLinuxPython
- python用install失敗怎麼解決Python
- python環境搭建-Linux系統下python2.7升級python3.5.2步驟PythonLinux
- Python 物件(下)Python物件
- python中使用subprocess批量執行linux下命令PythonLinux
- Linux 黑乎乎的命令列下,如何除錯 Python?Linux命令列除錯Python
- 在linux環境下安裝python3.6LinuxPython
- python中使用subprocess批次執行linux下命令PythonLinux
- linux及windows下使用Python獲取IP地址LinuxWindowsPython
- 雲伺服器:Linux環境下python2.7.6升級python3.5.2伺服器LinuxPython
- Linux Install MemcachedLinux
- Samba Install in linuxSambaLinux
- linux下使用npm install報EACCES的解決方法LinuxNPM
- Linux下使用 virtualenv 虛擬獨立 Python 環境LinuxPython
- 在Linux下安裝pyenv使Python多版本共存LinuxPython
- python下載模組Python
- 2019最新Python學習教程升級版(Linux 下如何除錯 Python?)PythonLinux除錯
- 【Python】python-django上傳下載功能PythonDjango
- npm install報錯not found: python2的結局方法NPMPython
- linux下easy_install的安裝與使用詳解Linux
- Linux下Python3.6的安裝及避坑指南LinuxPython