0
我檢查my old script在Python/Jython的寫於2007年,它拋出的錯誤:導入錯誤:無法導入名稱PyJavaClass
ImportError: cannot import name PyJavaClass
什麼與此類情況發生,我使用的是Xubuntu 13.4 Jython的2.5.2
我檢查my old script在Python/Jython的寫於2007年,它拋出的錯誤:導入錯誤:無法導入名稱PyJavaClass
ImportError: cannot import name PyJavaClass
什麼與此類情況發生,我使用的是Xubuntu 13.4 Jython的2.5.2
PyJavaClass
是Jython 2.2的一部分:https://bitbucket.org/jython/jython/src/bed9f9de4ef3c6d38bc009409c95ebfc55e0c7d0/src/org/python/core?at=2.2。
它在Jython 2.5中消失了。現在有PyJavaType
。見
我找不到有關發行說明(http://www.jython.org/latest.html)這種改變任何東西。