spacepaste

  1.  
  2. $ pip install numpy
  3. Collecting numpy
  4. Downloading numpy-1.12.1-cp27-cp27mu-manylinux1_x86_64.whl (16.5MB)
  5. 100% |████████████████████████████████| 16.5MB 84kB/s
  6. Installing collected packages: numpy
  7. Exception:
  8. Traceback (most recent call last):
  9. File "/home/xenocampanoli/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
  10. status = self.run(options, args)
  11. File "/home/xenocampanoli/.local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
  12. prefix=options.prefix_path,
  13. File "/home/xenocampanoli/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
  14. **kwargs
  15. File "/home/xenocampanoli/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
  16. self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  17. File "/home/xenocampanoli/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
  18. isolated=self.isolated,
  19. File "/home/xenocampanoli/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
  20. clobber(source, lib_dir, True)
  21. File "/home/xenocampanoli/.local/lib/python2.7/site-packages/pip/wheel.py", line 287, in clobber
  22. ensure_dir(dest) # common for the 'include' path
  23. File "/home/xenocampanoli/.local/lib/python2.7/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
  24. os.makedirs(path)
  25. File "/usr/lib/python2.7/os.py", line 157, in makedirs
  26. mkdir(name, mode)
  27. OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages'
  28.