Can't install PyQt via pip because it ask about the license

Florian Bruhin me at the-compiler.org
Wed Oct 5 12:40:08 BST 2022


On Wed, Oct 05, 2022 at 10:34:40AM +0000, c.buhtz at posteo.jp wrote:
> On 2022-10-05 11:46 Florian Bruhin <me at the-compiler.org> wrote:
> > See the install docs you already linked for details.
> 
> I'm not sure but I used this archive. Maybe this is meant by "sdist"?
> <https://files.pythonhosted.org/packages/e1/57/2023316578646e1adab903caab714708422f83a57f97eb34a5d13510f4e1/PyQt5-5.15.7.tar.gz>

Indeed. sdist is just short for "source distribution" (as opposed to
binary distribution/bdist, e.g. wheels):
https://packaging.python.org/en/latest/glossary/#term-Source-Distribution-or-sdist

I did indeed forget that step, yup.

In theory, "pip download" should download it without doing something
else. Unfortunately, in practice, that doesn't seem to work with PyQt5,
probably due to this pip issue:
https://github.com/pypa/pip/issues/1884

There's a shellscript in there which might help:
https://github.com/pypa/pip/issues/1884#issuecomment-997227879

It'd be cool to have a small, pip-installable "pypi-download" project or
so making this easier. I thought about doing that some while ago, and
then forgot again :D

So yeah, after all you might be right, and maybe convincing pip to do
the right thing is easier indeed.

Florian

-- 
            me at the-compiler.org | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20221005/ac4b3c79/attachment.sig>


More information about the PyQt mailing list