gpt4 book ai didi

python - PyCharm 中的 "executable not specified"错误

转载 作者:太空宇宙 更新时间:2023-11-03 12:27:42 25 4
gpt4 key购买 nike

当我尝试在 PyCharm 中运行 python 脚本时,我收到此错误消息:

error running myscript: Executable is not specified

并且脚本没有运行。如何通过 PyCharm 运行我的脚本?

最佳答案

您需要为该项目指定一名翻译。

File -> Settings -> Project -> Project Interpreter,然后在右边选择一个解释器。

在 PyCharm Community Edition 4.0.3 上看起来像这样:

File -> Settings

Project -> Project Interpreter -> Select Interpreter

关于设置解释器的 JetBrains 官方指南可以在 here. 中找到。

关于python - PyCharm 中的 "executable not specified"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28224357/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com