From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kEH6Ac8Yh2PYcwAAbAwnHQ (envelope-from ) for ; Wed, 30 Nov 2022 09:48:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GAndAc8Yh2MwpQAAauVa8A (envelope-from ) for ; Wed, 30 Nov 2022 09:48:15 +0100 Received: from lists.gnu.org (unknown [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D9F8C27B59 for ; Wed, 30 Nov 2022 09:48:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0Ikp-0006SW-Ls; Wed, 30 Nov 2022 03:47:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0Ikn-0006SO-HB for help-guix@gnu.org; Wed, 30 Nov 2022 03:47:42 -0500 Received: from koszko.org ([93.95.227.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0Ikl-0002L0-L7 for help-guix@gnu.org; Wed, 30 Nov 2022 03:47:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lX3XFpLCgit795mIT/QCUK8752zSWSZSJBRQRnx+quY=; b=aGLZM4tLWxYwk+Q3i8lPFXgaiG LirIjo9/5Rlj2LpZgjogBUNY5K5DWWVrkDoscHy2kW1eTNVakYD5QFON7f8KQ+uanTeG7iYpFC6Cv OlTMapf5l4DzY+8Khq4AbbtD8nP4ixMO9zCee3hRbOLrifC1vBHLC9ReCmQ0JbDpxo/1iyo1no7CS 5BKY9+1qTkBFC6qk0s2eJo8xOCMDCP23aBb6PoWJLyEvr8qwuAPEUlv9Gtj2MylXSkDcDx5ahGdHr ATSNr1OYG1/LaFnkzTI6MJtjU7TQrca0JGGhCfMSgoCoIhMhWM8J4KTA2q+o0fnnVVxFJIgvqIcpU il5mipa58562yInu2x/otWcrS7mr4TsqEYpCuInew1gTwCdbge5HiGqL4xiDfBhJ65mW31IlGKzmG Lm9wwflH02TYepOoLVnM2n8pW4lSTjQroG9oovWEycoQCW0dSn3FORYxar7/2ljxp3fpeMYBkwT9i P9T3j3oavDZH5mjH8ylgveeQvlaSes5Df5YoB/l26YQvtIyXpUnTpk+UK6S1UQYJmoXtd1fYN3Sy4 kOroZDgomyTIrazEQiIVk7LCvigyZZHCXjeEh5t+9JmpST4Lg0aD5wQKqtOeX96Ubom5QrE+KT6uS x13vXquhU3nL7CeqBKnfrf3erD8gxE0wVDu3vI/3A=; Received: from [77.252.47.212] (helo=koszkonutek-tmp.pl.eu.org) by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p0Ikh-0007FK-Kx; Wed, 30 Nov 2022 09:47:35 +0100 Date: Wed, 30 Nov 2022 09:47:33 +0100 To: zimoun Cc: mprodrigues@posteo.net, help-guix@gnu.org Subject: Re: Problem loading numpy and other on a venv in a guix system Message-ID: <20221130094733.5a91acf6@koszkonutek-tmp.pl.eu.org> In-Reply-To: <86r0xk6esw.fsf@gmail.com> References: <3ee102246f0716dc9e4d1330062639ca@posteo.net> <86r0xk6esw.fsf@gmail.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/jXAwviqZQsDBvCihKTpdOnT"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Wojtek Kosior From: Wojtek Kosior via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669798092; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lX3XFpLCgit795mIT/QCUK8752zSWSZSJBRQRnx+quY=; b=EeC3YxNqEddF+2LcJGcwfB+pqF2Il9Nsk3sitxZqUEPqUJBgaxyn721Qupq1KBY4KtJqMt ykR7EtcQLGfUssgeElbxjXBc++9yK00tgT68q+EdLopFsOuyhssP5PaML4cGY3Fmedd4jW SDBGRe7FQP6z/C4tHCdROXubrJmQz63DvSRwy15s0bIqFNMlOWDOW/oEFxH5iWEr5XzCJd 568lgNHxGY6IdzrF8msUfBjFOAp6SxMQsnPhXHF6SyF4Yi9UejtOkrvmsVz+1yDMtM8qbO gSw+2/bfpv5BKRe6tbhDPlln2dqBiQn21fXnFAtAs8BRbfWOLnaO8TyV1dzznw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669798092; a=rsa-sha256; cv=none; b=HemWjXnOl4xrBxwGMlqvbQJ9HvMwY1FA2GyAxPKByHVrakoTQB3iUFbUzJs44Sgk6cYXZ9 crEOrb+GZjA6DlFNgKGzEOOV9B1sajt3vvDRPiK2AeSS2au0sz5mqW/7PHvfKp13kq2ZdS yPcen4m9tT1SAGPBR7M8fhOv6+8tbS21NDty1rAZD3ANara+YH9BTJ8pe0YFfdzJajYaRR +HkBin3lKgNCO6aWcobpf5XW7DefQAqzoJPPGsUUN5c1FbxJsyDkBX/q3AVlZgUTM8rqHd +xa0o6EKypFnrAPa+OZdsaI7AevRaoBwTf9vqJg4pSVYeWG1dCCJrpxTAHMtcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=aGLZM4tL; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=aGLZM4tL; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D9F8C27B59 X-Spam-Score: -3.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: f0CZ3MtJQkq3 --Sig_/jXAwviqZQsDBvCihKTpdOnT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Hi, >=20 > On Tue, 29 Nov 2022 at 16:42, mprodrigues@posteo.net wrote: >=20 > > Importing the numpy C-extensions failed. This error can happen for many= =20 > > reasons, > > often due to issues with your setup or how NumPy was installed. =20 >=20 > Well, I am not sure to understand your configuration. You are > installing some packages (say python and python-numpy) using =E2=80=9Cguix > shell=E2=80=9D and then installing others using pip loaded with virtuale= nv. > Right? >=20 >=20 > Cheers, > simon >=20 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=C3=B3w saints! #47: saint Stanis=C5=82aw ze Szczepanowa Poznaj =C5=9Bwi=C4=99tych krakowskich! #47: =C5=9Bwi=C4=99ty Stanis=C5=82a= w ze Szczepanowa https://pl.wikipedia.org/wiki/Stanis=C5=82aw_ze_Szczepanowa -- (sig_end) On Wed, 30 Nov 2022 09:13:03 +0100 zimoun wrote: > Hi, >=20 > On Tue, 29 Nov 2022 at 16:42, mprodrigues@posteo.net wrote: >=20 > > Importing the numpy C-extensions failed. This error can happen for many= =20 > > reasons, > > often due to issues with your setup or how NumPy was installed. =20 >=20 > Well, I am not sure to understand your configuration. You are > installing some packages (say python and python-numpy) using =E2=80=9Cguix > shell=E2=80=9D and then installing others using pip loaded with virtuale= nv. > Right? >=20 >=20 > Cheers, > simon >=20 --Sig_/jXAwviqZQsDBvCihKTpdOnT Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCY4cYpQAKCRBLxSIcWnn9 Gj2vAP9MguQKKuOHSb3Syfk9EH+jCBkQzDYIN8AgHCgPmWMEiwEAq+Hzn5NMJQd/ ilPNfZHZA/mWBsJQ8uSSM4RX37Zutws= =yh1P -----END PGP SIGNATURE----- --Sig_/jXAwviqZQsDBvCihKTpdOnT--