unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: mprodrigues@posteo.net
To: help-guix@gnu.org
Subject: Problem loading numpy and other on a venv in a guix system
Date: Tue, 29 Nov 2022 16:42:14 +0000	[thread overview]
Message-ID: <3ee102246f0716dc9e4d1330062639ca@posteo.net> (raw)

Hello,

I've been using a guix shell with a couple of python packages and it 
works fine,
however I'd also like to keep the option of using a virtualenv if 
possible, the
thing is I'm having problem running modules like numpy, that depend on 
non
python dependencies. The error I get when I try to load numpy in a venv 
is:

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.

and in the end:

Original error was: libz.so.1: cannot open shared object file: No such 
file or
directory

I have tried installing zlib directly, also tried to add my default 
profile libs
path to the venv PATH, but to no avail until now.  How can I solve this? 
Or
maybe someone can point me in the direction that I have to take to 
properly
debug this.

Best regards,
Mateus Rodrigues


             reply	other threads:[~2022-11-29 18:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-29 16:42 mprodrigues [this message]
2022-11-29 18:33 ` Problem loading numpy and other on a venv in a guix system 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
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=3ee102246f0716dc9e4d1330062639ca@posteo.net \
    --to=mprodrigues@posteo.net \
    --cc=help-guix@gnu.org \
    /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).