I have problems installing wifi 1.0.0 (?) with pip on a raspberry pi,
getting the error No such file or directory: '/tmp/pip_build_pi/wifi/CHANGES.rst'
Help would be appreciated.
Tried with and without sudo
.
The full log:
pi@raspberry ~/Phythm $ pip install wifi
Downloading/unpacking wifi
Downloading wifi-1.0.0.tar.gz
Running setup.py (path:/tmp/pip_build_pi/wifi/setup.py) egg_info for package wifi
Skipping copying files to /etc/bash_completion.d/, no write access
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_pi/wifi/setup.py", line 42, in <module>
long_description='\n\n'.join([read('README.rst'), read('CHANGES.rst')]),
File "/tmp/pip_build_pi/wifi/setup.py", line 12, in read
return open(os.path.join(os.path.dirname(__file__), fname)).read()
IOError: [Errno 2] No such file or directory: '/tmp/pip_build_pi/wifi/CHANGES.rst'
Complete output from command python setup.py egg_info:
Skipping copying files to /etc/bash_completion.d/, no write access
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_pi/wifi/setup.py", line 42, in <module>
long_description='\n\n'.join([read('README.rst'), read('CHANGES.rst')]),
File "/tmp/pip_build_pi/wifi/setup.py", line 12, in read
return open(os.path.join(os.path.dirname(__file__), fname)).read()
IOError: [Errno 2] No such file or directory: '/tmp/pip_build_pi/wifi/CHANGES.rst'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_pi/wifi
Storing debug log for failure in /home/pi/.pip/pip.log
pi@raspberry ~/Phythm $
Logfile:
$ cat /home/pi/.pip/pip.log
------------------------------------------------------------
/usr/local/bin/pip run on Tue Sep 2 04:19:18 2014
Downloading/unpacking wifi
Getting page https://pypi.python.org/simple/wifi/
URLs to search for versions for wifi:
* https://pypi.python.org/simple/wifi/
Analyzing links from page https://pypi.python.org/simple/wifi/
Found link https://pypi.python.org/packages/source/w/wifi/wifi-0.0.1.tar.gz#md5=268c545deddf6aaa4a57b6b6126a7a32 (from https://pypi.python.org/simple/wifi/), version: 0.0.1
Found link https://pypi.python.org/packages/source/w/wifi/wifi-0.1.0.tar.gz#md5=0b30d002a97ed6de1ba3eed294582b55 (from https://pypi.python.org/simple/wifi/), version: 0.1.0
Found link https://pypi.python.org/packages/source/w/wifi/wifi-0.1.1.tar.gz#md5=6e02cdc66153514017c8196ce86e80fb (from https://pypi.python.org/simple/wifi/), version: 0.1.1
Found link https://pypi.python.org/packages/source/w/wifi/wifi-0.2.0.tar.gz#md5=7df58691eb39be009e78e0c96b2c5598 (from https://pypi.python.org/simple/wifi/), version: 0.2.0
Found link https://pypi.python.org/packages/source/w/wifi/wifi-0.2.1.tar.gz#md5=c5c63a40e58c3955c27e8122490c428b (from https://pypi.python.org/simple/wifi/), version: 0.2.1
Found link https://pypi.python.org/packages/source/w/wifi/wifi-0.2.2.tar.gz#md5=57ae7542c3ba16241839efd7ee84c17b (from https://pypi.python.org/simple/wifi/), version: 0.2.2
Found link https://pypi.python.org/packages/source/w/wifi/wifi-0.3.0.tar.gz#md5=659c733b8f73cc85fb5e7496b5f2e0fc (from https://pypi.python.org/simple/wifi/), version: 0.3.0
Found link https://pypi.python.org/packages/source/w/wifi/wifi-0.3.1.tar.gz#md5=19c94c4318e7002a9fc83cff22bb92af (from https://pypi.python.org/simple/wifi/), version: 0.3.1
Found link https://pypi.python.org/packages/source/w/wifi/wifi-0.3.2.tar.gz#md5=cf2838f703d054b8c146ae1db4c0eeac (from https://pypi.python.org/simple/wifi/), version: 0.3.2
Found link https://pypi.python.org/packages/source/w/wifi/wifi-0.3.3.tar.gz#md5=38fb87d5e0d269706c24d2c9b31850ff (from https://pypi.python.org/simple/wifi/), version: 0.3.3
Found link https://pypi.python.org/packages/source/w/wifi/wifi-1.0.0.tar.gz#md5=aeeafe962bc01cf9a55a146d0f301dfc (from https://pypi.python.org/simple/wifi/), version: 1.0.0
Skipping link https://travis-ci.org/rockymeza/wifi (from https://pypi.python.org/simple/wifi/); not a file
Skipping link https://wifi.readthedocs.org/en/latest/ (from https://pypi.python.org/simple/wifi/); not a file
Using version 1.0.0 (newest of versions: 1.0.0, 0.3.3, 0.3.2, 0.3.1, 0.3.0, 0.2.2, 0.2.1, 0.2.0, 0.1.1, 0.1.0, 0.0.1)
Downloading wifi-1.0.0.tar.gz
Downloading from URL https://pypi.python.org/packages/source/w/wifi/wifi-1.0.0.tar.gz#md5=aeeafe962bc01cf9a55a146d0f301dfc (from https://pypi.python.org/simple/wifi/)
Running setup.py (path:/tmp/pip_build_pi/wifi/setup.py) egg_info for package wifi
Skipping copying files to /etc/bash_completion.d/, no write access
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_pi/wifi/setup.py", line 42, in <module>
long_description='\n\n'.join([read('README.rst'), read('CHANGES.rst')]),
File "/tmp/pip_build_pi/wifi/setup.py", line 12, in read
return open(os.path.join(os.path.dirname(__file__), fname)).read()
IOError: [Errno 2] No such file or directory: '/tmp/pip_build_pi/wifi/CHANGES.rst'
Complete output from command python setup.py egg_info:
Skipping copying files to /etc/bash_completion.d/, no write access
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_pi/wifi/setup.py", line 42, in <module>
long_description='\n\n'.join([read('README.rst'), read('CHANGES.rst')]),
File "/tmp/pip_build_pi/wifi/setup.py", line 12, in read
return open(os.path.join(os.path.dirname(__file__), fname)).read()
IOError: [Errno 2] No such file or directory: '/tmp/pip_build_pi/wifi/CHANGES.rst'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_pi/wifi
Exception information:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 1229, in prepare_files
req_to_install.run_egg_info()
File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 325, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/local/lib/python2.7/dist-packages/pip/util.py", line 697, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_pi/wifi