找回密碼
 註冊
搜索
查看: 2662|回復: 0

[CentOS] 安裝Python3.6及使用pip

[複製鏈接]
發表於 2018-6-1 08:59:31 | 顯示全部樓層 |閱讀模式
#yum install https://centos7.iuscommunity.org/ius-release.rpm
#yum install python36u python36u-pip python36u-devel
#mkdir py36env
#cd py36env
#python3.6 -m venv venv
#. venv/bin/activate
#pip install [package_name]
#pip install -r requirements.txt

Reference:
How-to install Python 3.6.1 on CentOS 7
https://janikarhunen.fi/how-to-i ... -1-on-centos-7.html
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|彩色筆小沛的知識庫

GMT+8, 2024-12-22 09:55 , Processed in 0.018665 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回復 返回頂部 返回列表