Py学习  »  Python

github和Python3.8有问题吗?为什么我不能运行这个代码?

silteliz • 5 年前 • 1494 次点击  

!git clone https://github.com/sorki/python-mnist
!./python-mnist/get_data.sh
!pip3 install emnist
from emnist import extract_training_samples

但出现以下错误消息:

Traceback (most recent call last):
  File "/Users/silteliz/Desktop/Solo Learn Python/NN 1.py", line 1
    !git clone https://github.com/sorki/python-mnist
    ^
SyntaxError: invalid syntax

我有Python 3.8。有人知道问题出在哪里吗?

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/53410
文章 [ 1 ]  |  最新文章 5 年前