更新时间:2023-12-04 20:22:46
您需要为项目指定一个解释器。
You need to designate an interpreter for the project.
文件 - >设置 - >项目 - > Project Interpreter
,然后在右边选择一个解释器。
File -> Settings -> Project -> Project Interpreter
, and then select an interpreter at the right.
在PyCharm Community Edition 4.0.3上看起来像这样:
It looks like this on PyCharm Community Edition 4.0.3: