1

我試圖使用PIP對谷歌datalab用下面的代碼安裝PIL:如何在Google DataLAB上安裝PIL?

%bash pip install pil

和接收以下錯誤:

Downloading/unpacking pil Could not find any downloads that satisfy the requirement pil Cleaning up... No distributions at all found for pil Storing debug log for failure in /root/.pip/pip.log

任何幫助,將不勝感激感謝。

+1

您應該'PIP安裝pillow' –

回答

0

下在我的測試環境中工作:

%bash 
apt-get install -y libjpeg-dev 
pip install pillow 
+1

感謝您的解決方案,它按預期工作。 – 44thfloor