Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    修复python导致的代码错误

    代码下载问题专区
    1
    1
    85
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      QL2017 LV 3 last edited by

      回复: 初始化tina-d1-h仓库出错
      ubuntu 18.04LTS 初始化仓库时提示"File "/home/book/tina-d1-h/.repo/repo/main.py", line 94
      )
      ^
      SyntaxError: invalid syntax"
      ,可以试着which repo然后安装python3,然后python3+一个空格+which repo输出的结果+指令即可,我亲测可用,我用的代码:python3 /usr/bin/repo init -u https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml
      然后
      python3 /usr/bin/repo sync
      就行

      1 Reply Last reply Reply Quote Share 1
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策