Skip to content

Instantly share code, notes, and snippets.

@Spaxe
Created April 4, 2016 23:09
Show Gist options
  • Save Spaxe/3a1673831adaa1cdc56a6f763efd4261 to your computer and use it in GitHub Desktop.
Save Spaxe/3a1673831adaa1cdc56a6f763efd4261 to your computer and use it in GitHub Desktop.
$ pip install rasterio --upgrade
Collecting rasterio
Downloading rasterio-0.33.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (19.3MB)
100% |████████████████████████████████| 19.3MB 74kB/s
Requirement already up-to-date: snuggs in /usr/local/lib/python2.7/site-packages/snuggs-1.3.1-py2.7.egg (from rasterio)
Requirement already up-to-date: enum34 in /usr/local/lib/python2.7/site-packages/enum34-1.1.2-py2.7.egg (from rasterio)
Requirement already up-to-date: click-plugins in /usr/local/lib/python2.7/site-packages/click_plugins-1.0.3-py2.7.egg (from rasterio)
Collecting numpy (from rasterio)
Downloading numpy-1.11.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (3.9MB)
100% |████████████████████████████████| 3.9MB 374kB/s
Requirement already up-to-date: affine in /usr/local/lib/python2.7/site-packages/affine-1.2.0-py2.7.egg (from rasterio)
Requirement already up-to-date: cligj in /usr/local/lib/python2.7/site-packages/cligj-0.4.0-py2.7.egg (from rasterio)
Collecting click (from snuggs->rasterio)
Downloading click-6.6.tar.gz (283kB)
100% |████████████████████████████████| 286kB 2.6MB/s
Collecting pyparsing (from snuggs->rasterio)
Downloading pyparsing-2.1.1-py2.py3-none-any.whl
Building wheels for collected packages: click
Running setup.py bdist_wheel for click ... done
Stored in directory: /Users/ho03b/Library/Caches/pip/wheels/85/34/73/74fc76049d890d131db55346df1c8821b4d42468a993b2315e
Successfully built click
Installing collected packages: numpy, rasterio, click, pyparsing
Found existing installation: numpy 1.10.4
DEPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling numpy-1.10.4:
Successfully uninstalled numpy-1.10.4
Rolling back uninstall of numpy
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/site-packages/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/usr/local/lib/python2.7/site-packages/pip/req/req_set.py", line 732, in install
**kwargs
File "/usr/local/lib/python2.7/site-packages/pip/req/req_install.py", line 835, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/usr/local/lib/python2.7/site-packages/pip/req/req_install.py", line 1030, in move_wheel_files
isolated=self.isolated,
File "/usr/local/lib/python2.7/site-packages/pip/wheel.py", line 344, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/local/lib/python2.7/site-packages/pip/wheel.py", line 322, in clobber
shutil.copyfile(srcfile, destfile)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/numpy/__config__.py'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment