Hi Scott Talbert and thanks for your attention,

For `/usr/lib/python3/dist-packages` not in `sys.path`, indeed, it's the
environment. I have pip installed in `$HOME/apps/pip/bin` and if I
remove it from PATH, then it works. May be Python search for only one
dist-packages and stop at the first one found.

For type hints, I started to try to fix errors in
https://github.com/AlexionSoftware/types-wxpython . I wrote some
comments here: https://github.com/AlexionSoftware/types-
wxpython/issues/42 . For now, there are two important things I noted.
Some members which should be of type str, appears to be of type bytes in
Python. An example is wx.ButtonNameStr . I devised a way to declare
enums, described at the end of this message:
https://github.com/AlexionSoftware/types-
wxpython/issues/42#issuecomment-4962290300 . But I ended on an issue
with MyPy, for which I opened a simple proposal issue here:
https://github.com/python/mypy/issues/21730 . But may be I found another
(to be tested).

Please, what repository do you use for the stubs? It is to discuss it,
suggest things and may be contribute.

** Bug watch added: github.com/AlexionSoftware/types-wxpython/issues #42
   https://github.com/AlexionSoftware/types-wxpython/issues/42

** Bug watch added: github.com/python/mypy/issues #21730
   https://github.com/python/mypy/issues/21730

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160462

Title:
  Missing setup for python3-wxgtk4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wxpython4.0/+bug/2160462/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to