可能存在多个python看你贴的图,你的pycharm用的interpreter是d:\python.exe你试试去d盘下用 python -m pip show pygame看看有啥提示
python.exe 程序文件怎么在d盘根目录下?python.exe 程序文件位置不对吧