Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Common Issues

Niklas Heer edited this page Nov 14, 2017 · 1 revision

The setup script fails

Please try to run:

pip3 install paci

If it produces an error like this:

Collecting clint (from paci)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from paci)
Collecting better-exceptions (from paci)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from python-Levenshtein->paci)
Requirement already satisfied: MarkupSafe in /usr/lib/python3/dist-packages (from jinja2->paci)
Collecting args (from clint->paci)
Installing collected packages: tinydb, ruamel.yaml, json-traverse, python-Levenshtein, tabulate, fuzzywuzzy, docopt, args, clint, better-exceptions, paci
Exception:
Traceback (most recent call last):
  File "/home/tid/.local/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/home/tid/.local/lib/python3.5/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/home/tid/.local/lib/python3.5/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/home/tid/.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/tid/.local/lib/python3.5/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/home/tid/.local/lib/python3.5/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/home/tid/.local/lib/python3.5/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/home/tid/.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] Keine Berechtigung: '/usr/local/lib/python3.5/dist-packages/tinydb-3.7.0.dist-info'

Then you should just delete the ~/.local/lib/python3.5 folder and try again. Maybe you should note which packages you have installed before, so that you can install them again.

Clone this wiki locally