[borgbackup] borgbackup 0.26.0 released

Thomas Waldmann tw at waldmann-edv.de
Mon Sep 21 06:20:17 EDT 2015


> Thank you for the update.  I am having issues installing on Ubuntu
> 14.04, could you please advise?
> root at lab2-b1:/usr/local/ISS# git clone
> https://github.com/borgbackup/borg.git
> Cloning into 'borg'...
> remote: Counting objects: 6144, done.
> remote: Compressing objects: 100% (69/69), done.
> remote: Total 6144 (delta 34), reused 0 (delta 0), pack-reused 6075
> Receiving objects: 100% (6144/6144), 1.70 MiB | 0 bytes/s, done.
> Resolving deltas: 100% (4184/4184), done.
> Checking connectivity... done.
> root at lab2-b1:/usr/local/ISS# cd borg
> root at lab2-b1:/usr/local/ISS/borg# pip3 install -e .
> Traceback (most recent call last):
>   File "/usr/bin/pip3", line 5, in <module>
>     from pkg_resources import load_entry_point
>   File "/usr/lib/python3/dist-packages/pkg_resources.py", line 31, in
> <module>
>     import platform
>   File "/usr/local/ISS/borg/borg/platform.py", line 4, in <module>

It seems to be confused about the "platform" module.

I guess the pkg_resources wants the stdlib "platform", but it import the
"borg.platform" module.

Did you add borg/borg to sys.path / PYTHONPATH?

>     from .platform_linux import acl_get, acl_set, API_VERSION
> SystemError: Parent module '' not loaded, cannot perform relative import
> 

I am using a quite similar procedure (but with a virtualenv), works for me.

-- 

GPG Fingerprint: 6D5B EF9A DD20 7580 5747  B70F 9F88 FB52 FAF7 B393
Encrypted E-Mail is preferred / Verschluesselte E-Mail wird bevorzugt.



More information about the Borgbackup mailing list