[Issue Fixed]-Ubuntu开发环境下遇到的环境问题梳理
生活随笔
收集整理的這篇文章主要介紹了
[Issue Fixed]-Ubuntu开发环境下遇到的环境问题梳理
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
文章目錄
- 1、從github拉取代碼
- 2、ubuntu14.04上安裝python3.6
1、從github拉取代碼
repo init -u https://github.com/OP-TEE/manifest.git -m qemu_v8.xml --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -b 3.8.0
報了: Failed to connect to github.com port 443: Connection timed out
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+. repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+. fatal: unable to access 'https://github.com/OP-TEE/manifest.git/': Failed to connect to github.com port 443: Connection timed out manifests: fatal: unable to access 'https://github.com/OP-TEE/manifest.git/': Failed to connect to github.com port 443: Connection timed out解決辦法,取消git代理:
git config --global --unset http.proxy git config --global --unset httpx.proxy如果以上還解決不了,請打開vim /etc/hosts 去查看,將帶有g(shù)ithub的行刪除
2、ubuntu14.04上安裝python3.6
1、下載Python3wget http://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz wget會將文件下載到當(dāng)前目錄下,所以下載前選好目錄。2、下載完成后,解壓tar -xvzf Python-3.6.4.tgz 3、解壓完成后,切換到Python3文件夾中cd ./Python-3.6.4 4、分別執(zhí)行./configure --with-sslmakesudo make install 5、輸入Python3驗證Python3 《新程序員》:云原生和全面數(shù)字化實踐50位技術(shù)專家共同創(chuàng)作,文字、視頻、音頻交互閱讀總結(jié)
以上是生活随笔為你收集整理的[Issue Fixed]-Ubuntu开发环境下遇到的环境问题梳理的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [ARM-assembly]-ARMV8
- 下一篇: [ARM-assembly]-ARMv8