網路城邦
上一篇 回創作列表 下一篇   字體:
imx_android_setup.sh repo init main.py file=sys.stderr
2021/10/08 15:34:41瀏覽64|回應0|推薦0
ubuntu 16



sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip lzop bc u-boot-tools libssl-dev


git config --global user.name "greatcat" &&\

git config --global user.email "greatcat@ms18.hinet.net" &&\

mkdir ~/bin &&\

curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo &&\

chmod a+x ~/bin/repo  &&\

export PATH=${PATH}:~/bin  &&\

mkdir ~/dk2  &&\

cd ~/dk2  &&\

source ~/imx-o8.0.0_1.0.0_ga/imx_android_setup.sh

----------

  File "/home/gcat/android_build/.repo/repo/main.py", line 79

    file=sys.stderr)

SyntaxError: invalid syntax

----------

The issue needs to install python3.6

----------

sudo add-apt-repository ppa:deadsnakes/ppa

sudo apt-get update

sudo apt-get install python3.6

----------

OK, How about buy street cats a fish can ?



imx-o8.0.0_1.0.0_ga

imx-p9.0.0_2.2.0-ga
( 不分類不分類 )
回應 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=greatcat&aid=169186368