I'm having trouble setting up SpringPython with PyDev and Jython
I've installed Spring python by:
jython setup.py install
and the setup installed the library to my jython installation successfully.
See!:
In my PyDev project i've selected the jython interpreter and have c:\\jython2.5.1\\Lib\\site-packages in my Library paths:
My eclipse environment fails to resolve the new classes:
What else do I need to do to install this baby?
Perhaps I should just be using the Java version of spring...
Thanks SO!
The python interpreter that is used to compile your Python files is specified by PyDev on the project level. I suspect that while you do have Jython installed, your Eclipse project (katas) still uses CPython.
Perform the following steps to fix this:
Your files should now be compiled correctly using Jython.
As noted by the asker himself, you may need to restart your editor (or the Eclipse itself).
原来,我只需要重新启动Eclipse,就可以了。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.