Repository navigation
having trouble installing borg using pip #6655
Closed
sunhasgothishaton
started this conversation in
General
Replies: 3 comments
|
https://borgbackup.readthedocs.io/en/stable/installation.html#from-source < start reading there. |
0 replies
|
Fantastic, thank you. Got it working. |
0 replies
|
Closing this as outdated: it has seen no activity for a long time and predates the current borg releases. If this still affects you on a current version - borg 1.4.x (stable) or the borg 2.0.0 beta - please open a new discussion with up-to-date details. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi
I tried to install borg 1.2.0 on ubuntu 20.04 LTS and got the following error, what can I do? I'm new to pip and installing pip/python packages.
pip3 install "borgbackup==1.2.0"
Defaulting to user installation because normal site-packages is not writeable
Collecting borgbackup==1.2.0
Using cached borgbackup-1.2.0.tar.gz (4.0 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.25.8) or chardet (4.0.0) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-ei7whh_n/borgbackup_7bcf3cf477734016b9ad7861ace4dd49/setup.py", line 185, in
setup_crypto.crypto_ext_kwargs(pc, system_prefix_openssl),
File "/tmp/pip-install-ei7whh_n/borgbackup_7bcf3cf477734016b9ad7861ace4dd49/setup_crypto.py", line 32, in crypto_ext_kwargs
raise Exception('Could not find OpenSSL lib/headers, please set BORG_OPENSSL_PREFIX')
Exception: Could not find OpenSSL lib/headers, please set BORG_OPENSSL_PREFIX
Warning: can not import pkgconfig python package.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
All reactions