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

Unable to use urllib #12

Open
kracekumar opened this issue Mar 29, 2013 · 0 comments
Open

Unable to use urllib #12

kracekumar opened this issue Mar 29, 2013 · 0 comments

Comments

@kracekumar
Copy link

import urllib
response = urllib.urlopen("http://python.org")
print response

Code was evaluated using this app yields
Uncaught ReferenceError: _getaddrinfo is not defined in JS console.

While trying same code as chrome extension https://github.com/kracekumar/offline-python

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/lib/python2.7/urllib.py", line 26, in <module>
    import socket
  File "/lib/python2.7/socket.py", line 47, in <module>
    import _socket
ImportError: Could not evaluate dynamic lib: //lib/python2.7/_socket.so
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

1 participant