With pip, I get this error:
Code: Select all
root@beaglebone:~# pip install Adafruit_BBIO
Downloading/unpacking Adafruit-BBIO
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement Adafruit-BBIO
No distributions at all found for Adafruit-BBIO
Storing complete log in /home/root/.pip/pip.log
Code: Select all
root@beaglebone:~# ping -c 3 pypi.python.org
PING global-ssl.fastly.net (199.27.73.185) 56(84) bytes of data.
64 bytes from 199.27.73.185: icmp_req=1 ttl=54 time=20.3 ms
64 bytes from 199.27.73.185: icmp_req=2 ttl=54 time=19.6 ms
64 bytes from 199.27.73.185: icmp_req=3 ttl=54 time=19.8 ms
--- global-ssl.fastly.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 10128ms
rtt min/avg/max/mdev = 19.698/19.972/20.395/0.344 ms
Code: Select all
root@beaglebone:~# pip install lxml
Downloading/unpacking lxml
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement lxml
No distributions at all found for lxml
Storing complete log in /home/root/.pip/pip.log
Code: Select all
------------------------------------------------------------
/usr/bin/pip run on Sat Jan 1 00:29:25 2000
Downloading/unpacking lxml
Getting page https://pypi.python.org/simple/lxml/
Could not fetch URL https://pypi.python.org/simple/lxml/: <urlopen error [Errno -2] Name or service not known>
Will skip URL https://pypi.python.org/simple/lxml/ when looking for download links for lxml
Getting page https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/: <urlopen error [Errno -2] Name or service not known>
Will skip URL https://pypi.python.org/simple/ when looking for download links for lxml
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for lxml:
* https://pypi.python.org/simple/lxml/
Getting page https://pypi.python.org/simple/lxml/
Could not fetch URL https://pypi.python.org/simple/lxml/: <urlopen error [Errno -2] Name or service not known>
Will skip URL https://pypi.python.org/simple/lxml/ when looking for download links for lxml
Could not find any downloads that satisfy the requirement lxml
No distributions at all found for lxml
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 139, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 266, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/site-packages/pip/req.py", line 1026, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/usr/lib/python2.7/site-packages/pip/index.py", line 171, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for lxml
Code: Select all
root@beaglebone:~/adafruit-beaglebone-io-python# python setup.py install
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.45.tar.gz
Traceback (most recent call last):
File "setup.py", line 28, in <module>
distribute_setup.use_setuptools()
File "/home/root/adafruit-beaglebone-io-python/distribute_setup.py", line 162, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/home/root/adafruit-beaglebone-io-python/distribute_setup.py", line 131, in _do_download
to_dir, download_delay)
File "/home/root/adafruit-beaglebone-io-python/distribute_setup.py", line 211, in download_setuptools
src = urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
Ok, well that didn't work, lets try downloading the package from pip manually...
Code: Select all
root@beaglebone:~# wget http://pypi.python.org/packages/source/A/Adafruit_BBIO/Adafruit_BBIO-0.0.8.tar.gz
wget: bad address 'pypi.python.org'
Does *anything* work?
Code: Select all
root@beaglebone:~# wget http://pirateradiotheater.org/
Connecting to pirateradiotheater.org (97.107.139.130:80)
index.html 100% |**************************************| 5612 0:00:00 ETA
edit: The plot thickens...
Code: Select all
root@beaglebone:~# echo nameserver 8.8.8.8 > /etc/resolv.conf
root@beaglebone:~# pip install Adafruit_BBIO
Downloading/unpacking Adafruit-BBIO
Could not fetch URL https://pypi.python.org/simple/Adafruit_BBIO/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
Will skip URL https://pypi.python.org/simple/Adafruit_BBIO/ when looking for download links for Adafruit-BBIO
Could not fetch URL https://pypi.python.org/simple/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
Will skip URL https://pypi.python.org/simple/ when looking for download links for Adafruit-BBIO
Cannot fetch index base URL https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/Adafruit_BBIO/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
Will skip URL https://pypi.python.org/simple/Adafruit_BBIO/ when looking for download links for Adafruit-BBIO
Could not find any downloads that satisfy the requirement Adafruit-BBIO
No distributions at all found for Adafruit-BBIO
Storing complete log in /home/root/.pip/pip.log
Code: Select all
------------------------------------------------------------
/usr/bin/pip run on Sat Jan 1 00:01:21 2000
Downloading/unpacking Adafruit-BBIO
Getting page https://pypi.python.org/simple/Adafruit_BBIO/
Could not fetch URL https://pypi.python.org/simple/Adafruit_BBIO/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
Will skip URL https://pypi.python.org/simple/Adafruit_BBIO/ when looking for download links for Adafruit-BBIO
Getting page https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
Will skip URL https://pypi.python.org/simple/ when looking for download links for Adafruit-BBIO
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for Adafruit-BBIO:
* https://pypi.python.org/simple/Adafruit_BBIO/
Getting page https://pypi.python.org/simple/Adafruit_BBIO/
Could not fetch URL https://pypi.python.org/simple/Adafruit_BBIO/: There was a problem confirming the ssl certificate: <urlopen error [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
Will skip URL https://pypi.python.org/simple/Adafruit_BBIO/ when looking for download links for Adafruit-BBIO
Could not find any downloads that satisfy the requirement Adafruit-BBIO
No distributions at all found for Adafruit-BBIO
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 139, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 266, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/site-packages/pip/req.py", line 1026, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/usr/lib/python2.7/site-packages/pip/index.py", line 171, in find_requirement
raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for Adafruit-BBIO
Manual install works now. Durp.