[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63912: Acknowledgement (python-scikit-learn can't be imported "modul
From: |
Edouard Klein |
Subject: |
bug#63912: Acknowledgement (python-scikit-learn can't be imported "module compiled against API version 0x10 but this version of numpy is 0xf") |
Date: |
Wed, 14 Jun 2023 08:38:52 +0200 |
User-agent: |
mu4e 1.8.13; emacs 28.2 |
I found the cause:
.local/lib/python3.10/site-packages/ is part of the interpreter's load
path, and so an old version of numpy was imported in priority over
guix's.
I don't know if this is by design, but if so, it means that any
pip --user installed package will overshadow any guix install package,
even when giving --pure to guix shell. It may not be what we want.
What made me find this is that sklearn worked when in a container, but
not in a shell, that meant that something from the local system was
leaking into the shell.
help-debbugs@gnu.org (GNU bug Tracking System) writes:
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
> bug-guix@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 63912@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.