Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
akbulut opened this issue Jun 12, 2015 · 4 comments
Open

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

akbulut opened this issue Jun 12, 2015 · 4 comments

Comments

@akbulut
Copy link

akbulut commented Jun 12, 2015

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.

@Lispython
Copy link
Owner

How do you install it?

@akbulut
Copy link
Author

akbulut commented Jun 13, 2015

pip insgtall human_curl ?

@Lispython
Copy link
Owner

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 >

@gjpicker
Copy link

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants