ovh / python-ovh

Thin wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing.
https://pypi.org/project/ovh/
Other
278 stars 76 forks source link

module 'ovh' has no attribute 'Client' #94

Closed ibexnet closed 2 years ago

ibexnet commented 3 years ago

Hi everybody, I have installed ovh module via pip and I have latest version:

xxx$ pip3 list | grep ovh ovh 0.5.0

when I run the script I have the following error: Traceback (most recent call last): File "/Users/xxx/Script/./ovh.py", line 5, in import ovh File "/Users/xxx/Script/ovh.py", line 7, in client = ovh.Client( AttributeError: partially initialized module 'ovh' has no attribute 'Client' (most likely due to a circular import)

squidly commented 3 years ago

Hi,

The problem is most likely that your script is named ovh.py ( like the module ).

Regards

ibexnet commented 3 years ago

OMG! I did not think about it! So sorry and thanks