cannot import name pyhop

Irmen de Jong irmen.NOSPAM at xs4all.nl
Fri Oct 14 14:04:52 EDT 2016


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



More information about the Python-list mailing list