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
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to