Pycharm SDK is not defined for Run Configuration. Run之后没有输出 先检查configuration,run–edit configuration,重新选择路径,检查环境,我是环境不见了,重新在右下角python interpreter,添加环境 解决