安装pillow
我在pycharm上安装pillow怎么也装不上去,提示Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at '/usr/local/bin/python3.8'.
但是用论坛上终端方法安装了以后使用import PIL还是会显示没有PIL modul是怎么回事呢? 错误原因是不是把它装在2.7里了?
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: Pillow in ./Library/Python/2.7/lib/python/site-packages (6.2.2)
该怎么装到3.8里呀? 使用pip install pillow不行的吗? 超级大的甲鱼 发表于 2020-7-31 23:54
错误原因是不是把它装在2.7里了?
Defaulting to user installation because normal site-packages is not ...
在终端执行:
sudo pip3 install Pillow 超级大的甲鱼 发表于 2020-7-31 23:54
错误原因是不是把它装在2.7里了?
Defaulting to user installation because normal site-packages is not ...
打开你的 PyCharm 去 PyCharm 里面自带的终端安装就好
点击如图,然后去输入:
python -m pip install pillow -i https://pypi.tuna.tsinghua.edu.cn/simple
页:
[1]