每当我将PIL添加到我的导入中时,我总是无法导入“ PIL”。我在vscode中,并且已经导入了Pillow 进口:
from PIL import Image
from PIL import ImageFont
from PIL import ImageDraw
import io
settings.json:
{
"python.pythonPath": "C:\\Users\\Pc\\AppData\\Local\\Programs\\Python\\Python38\\python.exe",
"python.autoComplete.extraPaths": ["./Users/Pc/Downloads/ingcog.py/cogs/music.py"],
"python.jediEnabled": true,
"python.languageServer": "Jedi"
}
我从研究开始就尝试了以上所有操作>