如何配置 PyCharm 以便编辑和运行 Sage 脚本?
我在 Windows 上使用 SageMath 8。
我以为我可以从 Sage shell 启动 PyCharm,但这样做后我无法选择位于
C:\Program Files\SageMath 8.0\runtime\opt\sagemath-8.0\local\bin\python.exe
的 Sage 的 python 作为解释器,因为它给了我 Invalid Python SDK
。
[编辑]我实际上只是在寻找任何可以点击“运行”按钮来运行我的 Sage 脚本的 IDE。
https://github.com/n-WN/sagemath-vscode-enhanced
使用这个插件来满足您的需求