天天看點

git基本環境配置

yum源中已有的git版太低,是以選擇源碼編譯,也比較簡單,由于git上許多項目需要python環境不同,是以保留系統自帶的python2.x版本,并編譯python3.x

python編譯報錯

<code>urllib.error.URLError: &lt;urlopen error unknown url type: https&gt;</code>

安裝openssl,openssl-devel後取消如下關于SSL的注釋,在重新編譯

安裝setuptools&amp;&amp;pip

<a href="https://pypi.python.org/pypi/setuptools">https://pypi.python.org/pypi/setuptools</a>

<a href="http://peak.telecommunity.com/DevCenter/EasyInstall">http://peak.telecommunity.com/DevCenter/EasyInstall</a>

安裝git