Re: cannot import name pyhop

2016-10-18 Thread Irmen de Jong
On 18-10-2016 19:14, Gipper wrote: > On Friday, October 14, 2016 at 1:05:03 PM UTC-5, Irmen de Jong wrote: >> On 14-10-2016 7:31, Gipper wrote: >>> I'm trying to run a script that calls pyhop (from pyhop import pyhop). >>> Details here > https://docs.extrahop.com/5.0/extrahop-python-api/#metrics

Re: cannot import name pyhop

2016-10-18 Thread Gipper
On Friday, October 14, 2016 at 1:05:03 PM UTC-5, Irmen de Jong wrote: > On 14-10-2016 7:31, Gipper wrote: > > I'm trying to run a script that calls pyhop (from pyhop import pyhop). > > Details here > https://docs.extrahop.com/5.0/extrahop-python-api/#metrics > > > > I've followed the directions

Re: cannot import name pyhop

2016-10-14 Thread Irmen de Jong
On 14-10-2016 7:31, Gipper wrote: > I'm trying to run a script that calls pyhop (from pyhop import pyhop). > Details here > https://docs.extrahop.com/5.0/extrahop-python-api/#metrics > > I've followed the directions to install and import pyhop, but no matter what > I do, I always get the follow

Re: cannot import name .....

2007-05-03 Thread Matimus
I do see one problem there... if __name__ == 'main': t = nBaseTest('nBaseTest') t.logon() That should be: if __name__ == "__main__": t = nBaseTest('nBaseTest') t.logon() It should be like that in both files. -- http://mail.python.org/mailman/listinfo/python-list

Re: cannot import name .....

2007-05-03 Thread HMS Surprise
Thanks for posting. pythonpath = .;c:\maxq\bin\testScripts; c:\maxq\bin;c:\maxq\jython Both files are in c:\maxq\bin\testScripts. Also I do not get the message "no module named...: File nCreateIncident.py, the importer: from PyHttpTestCase import PyH