我可以安装Jython(通过自制程序),配置PyCharm来使用它作为我的解释器,但是我不能让PyCharm导入ij。/usr/local/bin/jython -Dpython.path=/tmp/python /tmp/python/test.py
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.python.core.PySystemState (file:/usr/local/Cellar/jython/2.7.1/libexec/jython.jar) to method java.io.Console.encoding()
WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Traceback (most recent call last):
File "/tmp/python/test.py", line 1, in
import ij
ImportError: No module named ij
我的目标是能够使用IDE和比脚本编辑器中现有的更高级的调试工具来编写ImageJ宏。Python将是我首选的脚本语言,PyCharm是我首选的IDE。任何想法都将不胜感激。