1、打开PyCharm软件,菜单栏选择“File”->“settings”
2、选择“project”->“project interpreter”,再点击添加
3、选择存放python.exe路径文件,点击”OK“就添加好了