From: Robert W. B. <rb...@di...> - 2001-01-26 22:41:53
|
Hi David, On Fri, 26 Jan 2001, David Blair wrote: > When I try to compile a Jython source file with jythonc.py it gives me > this error message: > ImportError: No module named org.python.parser > > I have I:\jython2.0 in the registry file in python.jythonc.classpath and > my CLASSPATH variable. > > What could be happening? Are you using an installed version of Jython, or compiled class files that are not in a jar? I ask because because if it is an 'installation,' you actually need I:\jython2.0\jython.jar in the classpath (assuming you chose I:\jython2.0\ as the installation directory). The jar file contains the org.python.parser classes. There should also be a I:\jython2.0\jythonc.bat file that you can use to simplify the use of jythonc (i.e.- I:\jython2.0\jythonc myJythonFile.py). If you are using class files instead of the jar, then I might need more info... -Robert |