unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: arkhan@disroot.org
Cc: help-guix@gnu.org
Subject: Re: Compiling Python 2.7.16
Date: Tue, 18 Jun 2019 17:24:28 +0200	[thread overview]
Message-ID: <87o92uor0z.fsf@elephly.net> (raw)
In-Reply-To: <cf44950d148819c911857cc9f77273b1@disroot.org>


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

  reply	other threads:[~2019-06-18 15:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2019-06-18 15:32     ` arkhan

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=87o92uor0z.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=arkhan@disroot.org \
    --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).