首页 > 代码库 > Mac osx 安装PIL出现Some externally hosted files were ignored (use --allow-external PIL to allow).
Mac osx 安装PIL出现Some externally hosted files were ignored (use --allow-external PIL to allow).
出现这个问题Some externally hosted files were ignored (use --allow-external PIL to allow)的主要原因是PIL的一些依赖库还没有安装
需要先安装PIL的依赖库
安装步骤
(1)首先通过homebrew安装libtiff,libjpeg webp little-cms2的库
brew install libtiff libjpeg webp little-cms2
(2)然后通过pip安装PIL
pip install Pillow
Mac osx 安装PIL出现Some externally hosted files were ignored (use --allow-external PIL to allow).
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。