cannot import name pyhop

Gipper dkraut at gmail.com
Tue Oct 18 13:14:29 EDT 2016


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 to install and import pyhop, but no matter what I do, I always get the following error when running a script that calls pyhop >
> > 
> > Traceback (most recent call last):
> >   File "Migration.py", line 1, in <module>
> >     from pyhop import pyhop
> > ImportError: cannot import name pyhop
> > 
> > Any ideas where I'm going wrong?  
> > 
> 
> What does:
> 
> import pyhop
> print(pyhop.__file__)
> 
> tell you?
> 
> -Irmen


C:\Python27\Lib\site-packages\pyhop\__init__.pyc



More information about the Python-list mailing list