1 / 2
文档名称:

MacOS系统上安装Python的Pillow库的教程 7275.docx

格式:docx   大小:10KB   页数:2页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

MacOS系统上安装Python的Pillow库的教程 7275.docx

上传人:森林书屋 2022/6/25 文件大小:10 KB

下载得到文件列表

MacOS系统上安装Python的Pillow库的教程 7275.docx

相关文档

文档介绍

文档介绍:1. 安装 pip
sudo easy_install pip
pip 安装成功就可以直接安装 pil 或者 pillow
2. 通过命令 pip install pil
pip install Pil
Dow
1. 安装 pip
sudo easy_install pip
pip 安装成功就可以直接安装 pil 或者 pillow
2. 通过命令 pip install pil
pip install Pil
Downloading/unpacking Pil Could not find any downloads that satisfy the requirement Pil Some externally hosted files were ignored (use --allow-external Pil to allow). Cleaning up... No distributions at all found for Pil Storing debug log for failure in /Users/macbook/Library/Logs/
3. 所以就安装 pillow
pip install --use-wheel Pillow
Downloading/unpacking Pillow Downloading Pillow- (): downloaded Cleaning up...
Git
然后开始编译安装

python build_ext -i
编译完之后会提示运行测试例子,并且发现 JPEG support not available 因为 JPEG support not available,运行 python 报告错误 1 tests of 57 failed.
于是只好卸载 pillow
可以通过 pip 命令来卸载
pip uninstall pillow su