[Borgbackup] pip install failed
Boris Kirkorowicz
bkborg at kirk.de
Sat Sep 10 17:31:05 EDT 2022
Hello,
unfortunately this did not work, the messages remain the same. Step by
step, I updated everything installed with "openssl" in it's name oder
description, that would not conflict. So maybe $BORG_OPENSSL_PREFIX
might help. Do you know what content it should have (for now, it is empty)?
My distro is openSUSE tumbleweed.
Am 10.09.22 um 13:40 schrieb Neal Becker:
> Says cannot find openssl library headers. Probably need to install
> something like openssl-devel, depending on your software distro
>
> On Sat, Sep 10, 2022, 6:25 AM Boris Kirkorowicz <bkborg at kirk.de
> <mailto:bkborg at kirk.de>> wrote:
>
> Hello,
> first to say: I have no idea about python programming, so I do not
> understand these lines. I hope you can help me.
>
> Since borgbackup version 1.2.2 is not available as rpm packet in the
> SUSE repos, I tried the following to get it installed:
>
> >
> boris at linux-t560b:/home/groups/download/linux/install/borgbackup-1.2.2>
> pip install pkgconfig
> > Defaulting to user installation because normal site-packages is
> not writeable
> > Requirement already satisfied: pkgconfig in
> /usr/lib/python3.10/site-packages (1.5.5)
> >
> boris at linux-t560b:/home/groups/download/linux/install/borgbackup-1.2.2>
> pip install "borgbackup==1.2.2"
> > Defaulting to user installation because normal site-packages is
> not writeable
> > Collecting borgbackup==1.2.2
> > Downloading borgbackup-1.2.2.tar.gz (4.0 MB)
> > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.0/4.0 MB 7.4 MB/s
> eta 0:00:00
> > Installing build dependencies ... done
> > Getting requirements to build wheel ... error
> > error: subprocess-exited-with-error
> >
> > × Getting requirements to build wheel did not run successfully.
> > │ exit code: 1
> > ╰─> [17 lines of output]
> > Traceback (most recent call last):
> > File
> "/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py",
> line 363, in <module>
> > main()
> > File
> "/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py",
> line 345, in main
> > json_out['return_val'] = hook(**hook_input['kwargs'])
> > File
> "/usr/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py",
> line 130, in get_requires_for_build_wheel
> > return hook(config_settings)
> > File
> "/tmp/pip-build-env-e44g5q7r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py",
> line 338, in get_requires_for_build_wheel
> > return self._get_build_requires(config_settings,
> requirements=['wheel'])
> > File
> "/tmp/pip-build-env-e44g5q7r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py",
> line 320, in _get_build_requires
> > self.run_setup()
> > File
> "/tmp/pip-build-env-e44g5q7r/overlay/lib/python3.10/site-packages/setuptools/build_meta.py",
> line 335, in run_setup
> > exec(code, locals())
> > File "<string>", line 193, in <module>
> > File
> "/tmp/pip-install-nh_uztd6/borgbackup_2787a2604f8445dcb570a5732efbd2be/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
> > [end of output]
> >
> > note: This error originates from a subprocess, and is likely not
> a problem with pip.
> > error: subprocess-exited-with-error
> >
> > × Getting requirements to build wheel did not run successfully.
> > │ exit code: 1
> > ╰─> See above for output.
> >
> > note: This error originates from a subprocess, and is likely not a
> problem with pip.
>
> How can I find out what is broken and how to fix it?
>
>
> --
> Mit freundlichem Gruß Best regards
> Kirkorowicz
> _______________________________________________
> Borgbackup mailing list
> Borgbackup at python.org <mailto:Borgbackup at python.org>
> https://mail.python.org/mailman/listinfo/borgbackup
> <https://mail.python.org/mailman/listinfo/borgbackup>
>
--
Mit freundlichem Gruß Best regards
Kirkorowicz
More information about the Borgbackup
mailing list