I'm on 21.04 but I had success resolving this by installing
python3-b2sdk with apt
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1743247
Title:
B2 Python APIs are missing
Status
Two options for now:
- upgrade to the _latest_ (dev) version of duplicity,
- revert to b2sdk==1.7.0 until duplicity 0.8.20 is released
To revert do: _sudo pip install -U b2sdk==1.7.0_
There are multiple options for latest:
- Latest snap builds - “sudo snap install duplicity —classic —edge"
-
This bug report was originally against the PPA package
(0.7.16-0ubuntu1ppa1347~ubuntu16.04.1) and not those included in
Ubuntu's repositories.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
Actually, no. The latest and best duplicity versions are in the ppa
package. Ubuntu, and others, lock the version when a release is made.
For example, version 0.7.19 is the current version in the ppa, but it's
not in any apt repository. Instead, much earlier versions are there and
do not get
If pip is the recommended installation method, and apt packages aren't
complete or tested, should https://launchpad.net/~duplicity-
team/+archive/ubuntu/ppa be marked as deprecated?
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to
I marked this as Won't Fix. Duplicity runs on many distros and needs
close to 30 packages if you were to supply them all at install time. The
basic install is around 15. I have found that some distro's, Ubuntu
included, lock the version of the package and will not update it except
to fix a
Solution that worked for me on macOS, for anyone searching:
$ /location/of/duplicity/libexec/bin/pip3 install b2
(
if installed with brew that would most probably be:
$ /usr/local/Cellar/duplicity/[VERSION]/libexec/bin/pip3 install b2
)
Use the pip coming from the duplicity package, and b2 will
** Changed in: duplicity
Milestone: 0.8.01 => None
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1743247
Title:
B2 Python APIs are missing
Status in Duplicity:
In Progress
** Changed in: duplicity
Milestone: 0.8.00 => 0.8.01
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1743247
Title:
B2 Python APIs are missing
Status in Duplicity:
In
I think it's this issue:
https://github.com/henrysher/duplicity/issues/14#issue-283710635
** Bug watch added: github.com/henrysher/duplicity/issues #14
https://github.com/henrysher/duplicity/issues/14
--
You received this bug notification because you are a member of Desktop
Packages, which
Can anyone tell me what's going on here or how I can workaround this
problem?
$ duplicity --version
duplicity 0.7.17
$ pip list | grep b2
b2 (1.3.4)
$ pip2 list | grep b2
b2 (1.3.4)
$ duplicity LocalDir/ b2://x:y@bucketname/local_dir
BackendException: B2 backend requires B2 Python APIs
You may want to always specify pip2 since pip could be symlinked to pip2
or pip3. The install would not fail, but if pip --> pip3, then
duplicity would not have it available in Python2.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to
Same issue here, on Mac OS 10.11.6 and on Debian 9.
Reinstalling duplicity for me didn't the trick.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1743247
Title:
B2 Python APIs are
I'm using duplicity 0.7.17.
None of these solutions worked for me (and I got no errors):
sudo -H pip install backports.functools_lru_cache
pip install b2
pip2 install b2
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in
Reinstalling duplicity after installing b2 (pip install b2) apparently
did the trick.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1743247
Title:
B2 Python APIs are missing
Same issue here.
# pip --version
pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)
# pip2 --version
pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)
# pip3 --version
pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.4)
I tried:
pip install b2
pip2 install b2
pip3
I solved my problem; b2 was failing to import because of a missing
"backports.functools_lru_cache"
I installed it with
~$ sudo -H pip install backports.functools_lru_cache
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in
Here's what "pip2 install b2" gives (each time I run it):
Collecting b2
Collecting requests>=2.9.1 (from b2) Using cached
requests-2.18.4-py2.py3-none-any.whl
Collecting futures>=3.0.5 (from b2)Using cached
futures-3.2.0-py2-none-any.whl
Collecting logfury>=0.1.2
~$ pip --version
pip 9.0.1 from /usr/local/lib/python3.5/dist-packages (python 3.5)
~$ pip2 --version
pip 8.1.1 from /usr/lib/python2.7/dist-packages (python 2.7)
~$ pip3 --version
pip 9.0.1 from /usr/local/lib/python3.5/dist-packages (python 3.5)
--
You received this bug notification because
0.7.15 included a rewrite of the b2 backend to be much faster. The
rewrite uses the official b2 API, not web access, thus the need for the
package.
If you issue the commands below, you should see similar results:
ken@dione:~$ pip --version
pip 9.0.1 from /usr/local/lib/python2.7/site-packages
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: duplicity (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
The pip command didn't work for me, and nor did the pip2 equivalent. The
same b2 missing backend message always comes up, despite pip ostensibly
having installed the required backend as requested (at least, without
error meassages). Downgrading to 0.7.06-2ubuntu2 works, but that's a
pretty old
Thanks. The main advantage of sticking with apt is unattended-upgrades
makes it easy to be sure security updates are applied automatically. I’m
not familiar with a similar solution for pip, and it sounds like
“upgrade everything” isn’t that straightforward (according to
Duplicity runs on many distros and needs close to 30 packages if you
were to supply them all at install time. The basic install is around
15. I have found that some distro's, Ubuntu included, lock the version
of the package and will not update it except to fix a critical error. I
recommend pip
** Also affects: duplicity
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1743247
Title:
B2 Python APIs are missing
Status in
25 matches
Mail list logo