When trying to set the interpreter for python in Eclipse by choosing the executable, clicking OK displays "An error has occured." Does the interpreter name matter?
通过选择可执行文件尝试在Eclipse中为python设置解释器时,单击“确定”将显示“出现错误”。翻译名称是否重要?
2 个解决方案
#1
I had a similar problems with this on Mac OS X. My problem was that I had a space in Eclipse's application path, e.g. "/Applications/eclipse 3.3/Eclipse".
我在Mac OS X上遇到了类似的问题。我的问题是我在Eclipse的应用程序路径中有一个空格,例如“/ Applications / eclipse 3.3 / Eclipse”。
I changed the folder name to "/Applications/eclipse3.3" and it fixed it.
我将文件夹名称更改为“/Applications/eclipse3.3”并修复了它。
#2
Testing/running your apps on the command line is the safest bet, especially when writing threaded applications (you can kill your threadlocked program without killing eclipse)
在命令行上测试/运行应用程序是最安全的选择,特别是在编写线程应用程序时(你可以在不杀死eclipse的情况下杀死你的threadlocked程序)
#1
I had a similar problems with this on Mac OS X. My problem was that I had a space in Eclipse's application path, e.g. "/Applications/eclipse 3.3/Eclipse".
我在Mac OS X上遇到了类似的问题。我的问题是我在Eclipse的应用程序路径中有一个空格,例如“/ Applications / eclipse 3.3 / Eclipse”。
I changed the folder name to "/Applications/eclipse3.3" and it fixed it.
我将文件夹名称更改为“/Applications/eclipse3.3”并修复了它。
#2
Testing/running your apps on the command line is the safest bet, especially when writing threaded applications (you can kill your threadlocked program without killing eclipse)
在命令行上测试/运行应用程序是最安全的选择,特别是在编写线程应用程序时(你可以在不杀死eclipse的情况下杀死你的threadlocked程序)