unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Problem loading numpy and other on a venv in a guix system
@ 2022-11-29 16:42 mprodrigues
  2022-11-29 18:33 ` Wojtek Kosior via
  2022-11-30  8:13 ` zimoun
  0 siblings, 2 replies; 9+ messages in thread
From: mprodrigues @ 2022-11-29 16:42 UTC (permalink / raw)
  To: help-guix

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-30 12:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2022-11-30  9:46     ` mprodrigues
2022-11-30 12:07       ` zimoun
2022-11-30 12:37     ` zimoun

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).