Jupyter Notebookにて、PIL(Pillow)のimegeメソッドがインポートされません。対処方法をご教示ください。
python
1pip install Pillow 2 3# Requirement already satisfied: Pillow in /Users/tarou/opt/anaconda3/lib/python3.9/site-packages (9.0.1) 4Note: you may need to restart the kernel to use updated packages. 5 6from PIL import image 7 8#ImportError Traceback (most recent call last) 9Input In [9], in <cell line: 1>() 10----> 1 from PIL import image 11 12ImportError: cannot import name 'image' from 'PIL' (/Users/taro/opt/anaconda3/lib/python3.9/site-packages/PIL/__init__.py) 13
回答2件
あなたの回答
tips
プレビュー