这个错误让我抓狂了。我的脚本曾经可以工作,但我在尝试安装domoticz插件时出错,现在我收到以下消息
ImportError:没有名为PIL的模块
我几乎尝试了我在这里找到的所有东西来解决这个问题,但到目前为止还没有成功。
发布于 2020-05-26 04:55:28
在Raspberry Pi 3B+上使用Raspbian GNU/Linux9 (stretch):
wget https://github.com/jjhelmus/berryconda/releases/download/v2.0.0/Berryconda3-2.0.0-Linux-armv7l.sh
然后:
chmod +x Berryconda3-2.0.0-Linux-armv7l.sh
然后:
./Berryconda3-2.0.0-Linux-armv7l.sh
然后重新启动Raspberry Pi。
sudo apt-get install libjpeg-dev
python -m pip install pillow
最后,"no module named 'pil'“消息消失了。
https://stackoverflow.com/questions/55071379
复制相似问题