Problem with QTranslator (by GNU gettext user)

Florian Bruhin me at the-compiler.org
Sun Jun 18 11:33:00 BST 2023


Hey,

> > You should probably uninstall it and use virtualenvs in the future.
> 
> How could virtualenvs prevent such situations?

By a pip-installed PyQt not shadowing your system-wide PyQt from your
package manager. I see all kinds of funny issues when people do that via
my PyQt project (qutebrowser).

> I'm not convinced with the concept of virtuelenvs in the context of
> local developer machines. This is something for CI and testing machines.

The whole point of virtualenvs is that you can work on different
projects without having to install all (possibly conflicting)
dependencies system-wide.

Given that e.g. CI machines are usually throw-away without persistent
storage, quite to the contrary, there is no point of using a virtualenv
there.

> I know it is usual among Python devs to use this. But I don't, because
> it implies a lot of other problems.

Such as?

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230618/f5fd58c7/attachment.sig>


More information about the PyQt mailing list