也许有人看过这个..
相当旧的 Mac OS 可能会导致这种情况,但大多数情况下一切正常:
- Mac OS 10.14.6 (18G9323)
- LiClipse 8.1.0.202110030926 com.brainwy.liclipse.rcp.product null
- Homebrew 刚刚更新(尽管也抱怨操作系统太旧)并且重新安装了一些软件包以确保它全部被清除
$ pyenv versions
system
3.9.5
* 3.9.7 (set by /Users/aanisimov/.pyenv/version)
$ which python
/Users/aanisimov/.pyenv/shims/python
$ python --version
Python 3.9.7
LiClipse 就是找不到它!在那里尝试了所有这些按钮(PATH,pip,什么不是)仍然是同样的错误:
Errors getting info on discovered interpreter(s).
See error log for details.
java.lang.RuntimeException: java.io.IOException: Cannot run program "/usr/bin/python": error=0, posix_spawn failed
java.lang.RuntimeException: java.io.IOException: Cannot run program "/usr/bin/python2.7": error=0, posix_spawn failed
java.lang.RuntimeException: java.io.IOException: Cannot run program "/usr/local/bin/python3": error=0, posix_spawn failed
java.lang.RuntimeException: java.io.IOException: Cannot run program "/usr/local/bin/python3.9": error=0, posix_spawn failed
看起来它正试图在最明显的位置找到它,但无法生成运行它的进程?
Python 通过终端和 Sublime Text 之类的东西可以正常工作。
感谢您的任何建议!