Go to advanced search

by ilmaestro
Fri Dec 19, 2014 5:44 am
Forum: Python
Topic: python urllib2 error no address associated to host name
Replies: 9
Views: 9049

Re: python urllib2 error no address associated to host name

Hope this thread hasn't gone too stale -- but have you tried running your code as root:

Code: Select all

sudo python test_prog.py
It seems libraries like urllib2 and gpio need superuser access.

Go to advanced search