1、首先,安装Django:File/Settings/Project Interpreter 2、show all 3、 4、勾选Inherit global site-packages 5、apply/ok