所以我的Mac是否正确设置了_imaging但只要我创建mkvirtualenv MyProject的一个新的virtualenv和运行Python解释器VIRTUALENV virtualenvwrapper和_imaging
import _imaging
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/Library/Python/2.7/site-packages/PIL/_imaging.so, 2): Symbol not found: _jpeg_resync_to_restart
Referenced from: /Library/Python/2.7/site-packages/PIL/_imaging.so
Expected in: flat namespace
in /Library/Python/2.7/site-packages/PIL/_imaging.so
我得到以下。
有没有将我的图像库添加到virtualenv的快速修复?