【问题标题】:syntax error pulling git clone into python anywhere在任何地方将 git clone 拉入 python 的语法错误
【发布时间】:2017-05-08 16:07:06
【问题描述】:

我正在尝试将克隆拉入 pythonanywhere。

我跑:

git clone https://github.com/<your-github-username>/my-first-blog.git

我收到以下语法错误:

 File < stdin>, line 1
    git clone https://github.com/yavorcik/my-first-blog.git
            ^
SyntaxError: invalid syntax

不确定我在这里做错了什么。

【问题讨论】:

    标签: git pythonanywhere


    【解决方案1】:

    您在其中一个 Python 控制台中发出命令,而您应该在 Bash 控制台中发出它,因此错误消息表明这不是有效的 Python 代码。

    【讨论】:

      猜你喜欢
      • 2015-09-09
      • 1970-01-01
      • 1970-01-01
      • 2016-04-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-09-25
      相关资源
      最近更新 更多