Hi all,

A user on the pywavelets mailing list seems to have gotten themselves
into a mess: AFAICT they did 'pip install --user pywavelets' using a
ucs4 python, and then started a ucs2 python and tried to import it,
which of course failed because these two python builds have
incompatible ABIs, even though they share the same --user directory.

In retrospect, this seems like an obvious oversight: right now the
--user path (on Linux) is something like

  ~/.local/lib/python3.5/site-packages

Wouldn't it make more sense for it to be something like

  ~/.local/lib/cpython-35m-x86_64-linux-gnu/site-packages

so that Pythons with incompatible ABIs can't see each other's
packages? (That's sysconfig.get_config_var("SOABI").)

Obviously this can't really be fixed for old versions, but is this a
change that should be made in 3.7?

-n

-- 
Nathaniel J. Smith -- https://vorpus.org
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to