unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Wojtek Kosior via <help-guix@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: mprodrigues@posteo.net, help-guix@gnu.org
Subject: Re: Problem loading numpy and other on a venv in a guix system
Date: Wed, 30 Nov 2022 09:47:33 +0100	[thread overview]
Message-ID: <20221130094733.5a91acf6@koszkonutek-tmp.pl.eu.org> (raw)
In-Reply-To: <86r0xk6esw.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1736 bytes --]

> Hi,
> 
> On Tue, 29 Nov 2022 at 16:42, mprodrigues@posteo.net wrote:
> 
> > Importing the numpy C-extensions failed. This error can happen for many 
> > reasons,
> > often due to issues with your setup or how NumPy was installed.  
> 
> Well, I am not sure to understand your configuration.  You are
> installing some packages (say python and python-numpy) using “guix
> shell”  and then installing others using pip loaded with virtualenv.
> Right?
> 
> 
> Cheers,
> simon
> 

I believe Mateus did something like

    guix shell python python-virtualenv coreutils

followed by

    virtualenv -p python3 somedirectory
    . ./somedirectory/bin/activate
    pip install numpy

This is more or less what I used to reproduce the issue

Wojtek

-- (sig_start)
website: https://koszko.org/koszko.html
PGP: https://koszko.org/key.gpg
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A

Meet Kraków saints!           #47: saint Stanisław ze Szczepanowa
Poznaj świętych krakowskich!  #47: święty Stanisław ze Szczepanowa
https://pl.wikipedia.org/wiki/Stanisław_ze_Szczepanowa
-- (sig_end)


On Wed, 30 Nov 2022 09:13:03 +0100
zimoun <zimon.toutoune@gmail.com> wrote:

> Hi,
> 
> On Tue, 29 Nov 2022 at 16:42, mprodrigues@posteo.net wrote:
> 
> > Importing the numpy C-extensions failed. This error can happen for many 
> > reasons,
> > often due to issues with your setup or how NumPy was installed.  
> 
> Well, I am not sure to understand your configuration.  You are
> installing some packages (say python and python-numpy) using “guix
> shell”  and then installing others using pip loaded with virtualenv.
> Right?
> 
> 
> Cheers,
> simon
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2022-11-30  8:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-29 16:42 Problem loading numpy and other on a venv in a guix system mprodrigues
2022-11-29 18:33 ` Wojtek Kosior via
2022-11-30  9:42   ` mprodrigues
2022-11-30 11:21     ` Wojtek Kosior via
2022-11-30  8:13 ` zimoun
2022-11-30  8:47   ` Wojtek Kosior via [this message]
2022-11-30  9:46     ` mprodrigues
2022-11-30 12:07       ` zimoun
2022-11-30 12:37     ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221130094733.5a91acf6@koszkonutek-tmp.pl.eu.org \
    --to=help-guix@gnu.org \
    --cc=koszko@koszko.org \
    --cc=mprodrigues@posteo.net \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).