2011/7/1 kirthiga.87 <kirthiga.87@gmail.com>

Hi,

I am trying to install jython 2.5.2 for using Grinder Analyzer tool. The
installation was successul in the driectory : C:/jython 2.5.2 and i have
created both enviroment variable,system variable "JYTHON_HOME" and also in
the path with value : C:jython 2.5.2/bin

But after running the following command in my Grinder Analyzer tool, i get
No module named os error. Java is installed in my machine and s working
fine. Platform : Win7 64b, jdk1.6.0_25

Command: jython ./analyzer.py

Error: D:\GrinderAnalyzer.V2.b13>jython ./analyzer.py
Traceback (most recent call last):
 File "./analyzer.py", line 31, in <module>
   import classpathtool # sets the classpath for Java imports
 File "D:\GrinderAnalyzer.V2.b13\classpathtool.py", line 28, in <module>
   import os
ImportError: No module named os

Please help me out in resolving this. Thanks in advance
--
View this message in context: http://old.nabble.com/Import-Error%3A-No-module-named-os-tp31971870p31971870.html
Sent from the jython-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users


It is probably a path problem. What do you have if you run this script:

import sys
sys.path

from java.lang import System          
System.getProperty("java.class.path")

???
--


A+

-------------
Pierre
My blog and profile (http://pierrethibault.posterous.com)
YouTube page (http://www.youtube.com/user/tubetib)
Twitter (http://twitter.com/pierreth2)