我正在做一个关于udacity的深入学习课程.对于第一次分配,当我试图运行低于问题1的脚本时,我收到了这个错误.所以我试图卸载PIL和枕头,然后单独安装,但我没有成功.我需要帮助的人.我正在使用与python笔记本的tensorflow docker图像.
# These are all the modules we'll be using later. Make sure you can import them
# before proceeding further.
from __future__ import print_function
import matplotlib.pyplot as plt
import numpy as np
import os
import sys
import scipy
import tarfile
from IPython.display import display, Image
from scipy import ndimage
from sklearn.linear_model import LogisticRegression
from six.moves.urllib.request import urlretrieve
from six.moves import cPickle as pickle
# Config the matplotlib backend as plotting inline in IPython
%matplotlib inline
url = 'http://commondatastorage.googleapis.com/books1000/' …Run Code Online (Sandbox Code Playgroud)