all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Compiling Python 2.7.16
@ 2019-06-17 17:36 Edison Ibáñez
  2019-06-18 12:56 ` Ricardo Wurmus
       [not found] ` <492f4be4de6405aec2c3f29f0a68cd91@disroot.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Edison Ibáñez @ 2019-06-17 17:36 UTC (permalink / raw)
  To: help-Help

Hello again

I'm trying to compile the version of python 2.7.16

but I get the following error

WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?
ERROR: The Python zlib extension was not compiled. Missing the zlib?

Please consult to the Wiki page to fix the problem.
https://github.com/pyenv/pyenv/wiki/Common-build-problems


BUILD FAILED (Linux 5.1.10 using python-build 1.2.12)

I have installed those packages but when they die, they can not be located

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

* Re: Compiling Python 2.7.16
  2019-06-17 17:36 Compiling Python 2.7.16 Edison Ibáñez
@ 2019-06-18 12:56 ` Ricardo Wurmus
       [not found] ` <492f4be4de6405aec2c3f29f0a68cd91@disroot.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2019-06-18 12:56 UTC (permalink / raw)
  To: Edison Ibáñez; +Cc: help-guix


Hi,

> I'm trying to compile the version of python 2.7.16

How?

> but I get the following error
>
> WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?
> ERROR: The Python zlib extension was not compiled. Missing the zlib?

What Guix command did you run to get this error?

> I have installed those packages but when they die, they can not be located

I don’t know what this means.

-- 
Ricardo

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

* Re: Compiling Python 2.7.16
       [not found] ` <492f4be4de6405aec2c3f29f0a68cd91@disroot.org>
@ 2019-06-18 14:02   ` Ricardo Wurmus
  2019-06-18 15:16   ` arkhan
  1 sibling, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2019-06-18 14:02 UTC (permalink / raw)
  To: arkhan; +Cc: help-guix


Hi Edison,

> Hi,
>
> I'm trying to use this https://github.com/pyenv/pyenv
>
> Thanks

Please keep the mailing list in Cc.

Generally, I don’t think pyenv is going to be useful when you’re already
using Guix.

In order to help you we need to have more information.  Please provide
answers to my previous questions.  Here they are for context:

>> I'm trying to compile the version of python 2.7.16
>
> How?
>
>> but I get the following error
>>
>> WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?
>> ERROR: The Python zlib extension was not compiled. Missing the zlib?
>
> What Guix command did you run to get this error?
>
>> I have installed those packages but when they die, they can not be located
>
> I don’t know what this means.

--
Ricardo

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

* Re: Compiling Python 2.7.16
       [not found] ` <492f4be4de6405aec2c3f29f0a68cd91@disroot.org>
  2019-06-18 14:02   ` Ricardo Wurmus
@ 2019-06-18 15:16   ` arkhan
  2019-06-18 15:24     ` Ricardo Wurmus
  2019-06-18 15:32     ` arkhan
  1 sibling, 2 replies; 6+ messages in thread
From: arkhan @ 2019-06-18 15:16 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

I get it,
I'm new to guix, so I think the question would be how can I have a workflow similar to the one with pyenv + virtualenv + emacs, using guix + emacs ..?

__
Edison

18 de junio de 2019 9:02, "Ricardo Wurmus" <rekado@elephly.net> escribió:

> Hi Edison,
> 
>> Hi,
>> 
>> I'm trying to use this https://github.com/pyenv/pyenv
>> 
>> Thanks
> 
> Please keep the mailing list in Cc.
> 
> Generally, I don’t think pyenv is going to be useful when you’re already
> using Guix.
> 
> In order to help you we need to have more information. Please provide
> answers to my previous questions. Here they are for context:
> 
>>> I'm trying to compile the version of python 2.7.16
>> 
>> How?
>> 
>>> but I get the following error
>>> 
>>> WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?
>>> ERROR: The Python zlib extension was not compiled. Missing the zlib?
>> 
>> What Guix command did you run to get this error?
>> 
>>> I have installed those packages but when they die, they can not be located
>> 
>> I don’t know what this means.
> 
> --
> Ricardo

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

* Re: Compiling Python 2.7.16
  2019-06-18 15:16   ` arkhan
@ 2019-06-18 15:24     ` Ricardo Wurmus
  2019-06-18 15:32     ` arkhan
  1 sibling, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2019-06-18 15:24 UTC (permalink / raw)
  To: arkhan; +Cc: help-guix


arkhan@disroot.org writes:

> how can I have a workflow similar to the one with pyenv + virtualenv +
> emacs, using guix + emacs ..?

You can use separate profiles:

    guix package --profile=/home/me/python2 \
                 --install python2 python2-numpy”

This will install the latest version of Python 2.7 together with a
matching variant of numpy into a profile at /home/me/python2.  You can
“activate” the profile with

    export GUIX_PROFILE=/home/me/python2
    source $GUIX_PROFILE/etc/profile

You can create as many separate profiles as you need.

--
Ricardo

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

* Re: Compiling Python 2.7.16
  2019-06-18 15:16   ` arkhan
  2019-06-18 15:24     ` Ricardo Wurmus
@ 2019-06-18 15:32     ` arkhan
  1 sibling, 0 replies; 6+ messages in thread
From: arkhan @ 2019-06-18 15:32 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

great thank you very much I'll check it

18 de junio de 2019 10:24, "Ricardo Wurmus" <rekado@elephly.net> escribió:

> arkhan@disroot.org writes:
> 
>> how can I have a workflow similar to the one with pyenv + virtualenv +
>> emacs, using guix + emacs ..?
> 
> You can use separate profiles:
> 
> guix package --profile=/home/me/python2 \
> --install python2 python2-numpy”
> 
> This will install the latest version of Python 2.7 together with a
> matching variant of numpy into a profile at /home/me/python2. You can
> “activate” the profile with
> 
> export GUIX_PROFILE=/home/me/python2
> source $GUIX_PROFILE/etc/profile
> 
> You can create as many separate profiles as you need.
> 
> --
> Ricardo

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

end of thread, other threads:[~2019-06-18 15:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-17 17:36 Compiling Python 2.7.16 Edison Ibáñez
2019-06-18 12:56 ` Ricardo Wurmus
     [not found] ` <492f4be4de6405aec2c3f29f0a68cd91@disroot.org>
2019-06-18 14:02   ` Ricardo Wurmus
2019-06-18 15:16   ` arkhan
2019-06-18 15:24     ` Ricardo Wurmus
2019-06-18 15:32     ` arkhan

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.