将 git 克隆到 python 任何地方的语法错误
syntax error pulling git clone into python anywhere
我正在尝试将一个克隆拉入 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
不确定我在这里做错了什么。
您正在 Python 控制台之一中发出命令,而您应该在 Bash 控制台中发出命令,因此错误消息表明这是无效的 Python 代码.
我正在尝试将一个克隆拉入 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
不确定我在这里做错了什么。
您正在 Python 控制台之一中发出命令,而您应该在 Bash 控制台中发出命令,因此错误消息表明这是无效的 Python 代码.