I'm trying to install Radicale (http://radicale.org) and the first console command to run is python3 -m pip install --upgrade radicale
, which fails with "Permission denied..."
Any ideas on how I can get past this issue?
Here's the log:
Collecting radicale
Downloading Radicale-2.1.8.tar.gz (76kB)
100% |████████████████████████████████| 81kB 896kB/s
Collecting vobject (from radicale)
Downloading vobject-0.9.5.tar.gz (58kB)
100% |████████████████████████████████| 61kB 586kB/s
Collecting python-dateutil>=2.4.0 (from vobject->radicale)
Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)
100% |████████████████████████████████| 194kB 1.5MB/s
Collecting six>=1.5 (from python-dateutil>=2.4.0->vobject->radicale)
Downloading six-1.11.0-py2.py3-none-any.whl
Building wheels for collected packages: radicale, vobject
Running setup.py bdist_wheel for radicale ... done
Stored in directory: /home/onearts/.cache/pip/wheels/25/04/a5/27bf37395e21674f72e365200cde5288587fb093de33844285
Running setup.py bdist_wheel for vobject ... done
Stored in directory: /home/onearts/.cache/pip/wheels/d0/c9/09/e5ad6d4f5a2f00d62057073e793797fcedb24e3d999fcc4ee7
Successfully built radicale vobject
Installing collected packages: six, python-dateutil, vobject, radicale
Found existing installation: six 1.10.0
Uninstalling six-1.10.0:
Exception:
Traceback (most recent call last):
File "/usr/lib/python3.6/shutil.py", line 538, in move
os.rename(src, real_dst)
OSError: [Errno 18] Invalid cross-device link: '/usr/local/lib/python3.6/dist-packages/__pycache__/six.cpython-36.pyc' -> '/tmp/pip-5nqyvyrm-uninstall/usr/loc
al/lib/python3.6/dist-packages/__pycache__/six.cpython-36.pyc'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/local/lib/python3.6/dist-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/usr/local/lib/python3.6/dist-packages/pip/req/req_set.py", line 778, in install
requirement.uninstall(auto_confirm=True)
File "/usr/local/lib/python3.6/dist-packages/pip/req/req_install.py", line 754, in uninstall
paths_to_remove.remove(auto_confirm)
File "/usr/local/lib/python3.6/dist-packages/pip/req/req_uninstall.py", line 115, in remove
renames(path, new_path)
File "/usr/local/lib/python3.6/dist-packages/pip/utils/__init__.py", line 267, in renames
shutil.move(old, new)
File "/usr/lib/python3.6/shutil.py", line 553, in move
os.unlink(src)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.6/dist-packages/__pycache__/six.cpython-36.pyc'
[edited by admin:formatting]