Ubuntu Pastebin

Paste from Adam Collard at Wed, 14 Dec 2016 20:08:56 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
$ pip3 install . -f wheelhouse/ 
Processing /home/acollard/Projects/matrix
Collecting PyYAML==3.11 (from matrix==0.5.3)
Collecting blessings==1.6 (from matrix==0.5.3)
Collecting attrs==16.0.0 (from matrix==0.5.3)
Requirement already satisfied: petname==2.0 in /usr/lib/python3/dist-packages (from matrix==0.5.3)
Collecting urwid==1.3.1 (from matrix==0.5.3)
Requirement already satisfied: theblues<1.0.0,>=0.3.7 in /usr/lib/python3/dist-packages (from matrix==0.5.3)
Collecting juju<1.0.0,>=0.0.1 (from matrix==0.5.3)
Collecting enforce==0.3.1 (from matrix==0.5.3)
Collecting ubuntui<1.0.0,>=0.1.1 (from matrix==0.5.3)
Collecting jujubundlelib>=0.4.1 (from theblues<1.0.0,>=0.3.7->matrix==0.5.3)
Requirement already satisfied: pyOpenSSL in /usr/lib/python3/dist-packages (from juju<1.0.0,>=0.0.1->matrix==0.5.3)
Requirement already satisfied: twisted in /usr/lib/python3/dist-packages (from juju<1.0.0,>=0.0.1->matrix==0.5.3)
Collecting txaws (from juju<1.0.0,>=0.0.1->matrix==0.5.3)
Collecting zkpython (from juju<1.0.0,>=0.0.1->matrix==0.5.3)
  Using cached zkpython-0.4.2.tar.gz
Collecting txzookeeper (from juju<1.0.0,>=0.0.1->matrix==0.5.3)
Requirement already satisfied: wrapt in /usr/lib/python3/dist-packages (from enforce==0.3.1->matrix==0.5.3)
Collecting python-dateutil<2.0 (from txaws->juju<1.0.0,>=0.0.1->matrix==0.5.3)
Building wheels for collected packages: zkpython
  Running setup.py bdist_wheel for zkpython ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-3c0nx_p2/zkpython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp82bs8adepip-wheel- --python-tag cp35:
  running bdist_wheel
  running build
  running build_ext
  building 'zookeeper' extension
  creating build
  creating build/temp.linux-x86_64-3.5
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/c-client-src -I/usr/local/include/c-client-src -I/usr/include/zookeeper -I/usr/local/include/zookeeper -I/usr/include/python3.5m -c zookeeper.c -o build/temp.linux-x86_64-3.5/zookeeper.o
  zookeeper.c:20:23: fatal error: zookeeper.h: No such file or directory
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for zkpython
  Running setup.py clean for zkpython
Failed to build zkpython
Installing collected packages: PyYAML, blessings, attrs, urwid, python-dateutil, txaws, zkpython, txzookeeper, juju, enforce, ubuntui, matrix, jujubundlelib
  Found existing installation: PyYAML 3.12
    Uninstalling PyYAML-3.12:
      Successfully uninstalled PyYAML-3.12
  Rolling back uninstall of PyYAML
Exception:
Traceback (most recent call last):
  File "/home/acollard/.local/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/home/acollard/.local/lib/python3.5/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/home/acollard/.local/lib/python3.5/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/home/acollard/.local/lib/python3.5/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/home/acollard/.local/lib/python3.5/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/home/acollard/.local/lib/python3.5/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/home/acollard/.local/lib/python3.5/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/home/acollard/.local/lib/python3.5/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/usr/lib/python3.5/os.py", line 241, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/PyYAML-3.11.dist-info'
Download as text