human_curl icon indicating copy to clipboard operation
human_curl copied to clipboard

AttributeError: 'module' object has no attribute 'get'

Open akbulut opened this issue 10 years ago • 4 comments

this is code ; import human_curl human_curl.get("http://github.com/?x", debug=True) print human_curl.response

this is error. human_curl.get("http://github.com/?x", debug=True) AttributeError: 'module' object has no attribute 'get'

i don't know what is the problem.

akbulut avatar Jun 12 '15 14:06 akbulut

How do you install it?

Lispython avatar Jun 13 '15 11:06 Lispython

pip insgtall human_curl ?

akbulut avatar Jun 13 '15 11:06 akbulut

Please, past full stack trace.

In [1]: import human_curl
In [2]: human_curl.get("http://github.com/?x", debug=True)
Out[2]: <Response: 301 >

Lispython avatar Jun 13 '15 13:06 Lispython

I had even occured again , as far as I known

my python script name is "human_curl.py" . is I renamed it to "example.py" , all thing ok .

gjpicker avatar Apr 13 '17 10:04 gjpicker