Hi, Here is my question:
I had installed the etcd with pip, which specify 'pip install etcd' , no thing going wrong looks like. Howerver when using it, after import etcd sucessefully , etcd.Client() not working, it said module etcd doesn't have the attribute named Client.
At first, I think maybe import wrong module which have same name . I used dir() to find the information of etcd. I find that the set of import is right, however there is noting in the etcd module. Then I try the source code install. and get the same result. By the way , etcd3 module seems good. I don't know why this happend? can anyone gives some advice?
this is my code and the test of etcd
Hi, Here is my question: I had installed the etcd with pip, which specify 'pip install etcd' , no thing going wrong looks like. Howerver when using it, after import etcd sucessefully , etcd.Client() not working, it said module etcd doesn't have the attribute named Client. At first, I think maybe import wrong module which have same name . I used dir() to find the information of etcd. I find that the set of import is right, however there is noting in the etcd module. Then I try the source code install. and get the same result. By the way , etcd3 module seems good. I don't know why this happend? can anyone gives some advice? this is my code and the test of etcd
Really wired , nerver happened before