环境:
python3.7 (python版本最好是3.7或3.8。本人使用3.6和3.9一大堆依赖安装不上,换成3.7后莫名的错误都消失不见)
本帖解决的报错内容如下:
File "D:\Applications\Anaconda3\envs\neural_search_37\lib\site-packages\paddle\fluid\__init__.py", line 45, in <module>
from . import dataset
File "D:\Applications\Anaconda3\envs\neural_search_37\lib\site-packages\paddle\fluid\dataset.py", line 19, in <module>
from ..utils import deprecated
File "D:\Applications\Anaconda3\envs\neural_search_37\lib\site-packages\paddle\utils\__init__.py", line 27, in <module>
from . import image_util # noqa: F401
File "D:\Applications\Anaconda3\envs\neural_search_37\lib\site-packages\paddle\utils\image_util.py", line 16, in <module>
from PIL import Image
File "D:\Applications