From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mO51JhgrPF8PDgAA0tVLHw (envelope-from ) for ; Tue, 18 Aug 2020 19:25:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WPE0IhgrPF8iAwAAbx9fmQ (envelope-from ) for ; Tue, 18 Aug 2020 19:25:12 +0000 Received: from lists.gnu.org (lists.gnu.org [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 02CF09408DA for ; Tue, 18 Aug 2020 19:25:11 +0000 (UTC) Received: from localhost ([::1]:53438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k87EL-0005Dl-Tg for larch@yhetil.org; Tue, 18 Aug 2020 15:25:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k87EF-0005DR-4Q for bug-guix@gnu.org; Tue, 18 Aug 2020 15:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53752) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k87EE-0005kA-QU for bug-guix@gnu.org; Tue, 18 Aug 2020 15:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k87EE-0006eV-M0 for bug-guix@gnu.org; Tue, 18 Aug 2020 15:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42920: conda 4.8.3 on guix cannot activate environments Resent-From: Hugo Buddelmeijer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 18 Aug 2020 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42920 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42920@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159777867225527 (code B ref -1); Tue, 18 Aug 2020 19:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2020 19:24:32 +0000 Received: from localhost ([127.0.0.1]:37065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k87Di-0006dd-Eo for submit@debbugs.gnu.org; Tue, 18 Aug 2020 15:24:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:51802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k86yA-0006Ei-7S for submit@debbugs.gnu.org; Tue, 18 Aug 2020 15:08:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k86yA-0008TS-0R for bug-guix@gnu.org; Tue, 18 Aug 2020 15:08:26 -0400 Received: from mail-pl1-f180.google.com ([209.85.214.180]:32904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k86y7-0003Vp-Nu for bug-guix@gnu.org; Tue, 18 Aug 2020 15:08:25 -0400 Received: by mail-pl1-f180.google.com with SMTP id q19so9673364pll.0 for ; Tue, 18 Aug 2020 12:08:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=PDjmq30sEnFkYCj+6xSa0ohES4lYo3trosGGUiP4w1I=; b=NzEh0ngSowCB2Li+g82xzsZw3/5LQZQqlJ9vZbDl2Edawl/RG8FyyXwhaFObXCQZUx ko10uAt3TFMjZJiuW17k2YqZ/fdHORATTBvzyEzh0n8CliACCoalN/uZcPWqZiKgwCRa YlMUOaeS+4l5a8Uaox4QfvF+gohEu67u/4773MlV8M/TtMR8HhFLw8XMdQ6ElEfaBSHh rsrkXUQ7vrh8UHtrgmkv4vLevP3ATVpsAVQs+PBk11qfsHJ3DuYS/iXNwIaNtlSSA3Xh g8bIeNKOA0dDBz1izoGt3VXYbMMu+EexKLFoXCZxHvIlohT/7ba3XypYpRKJVJ2Dhu1w 20pw== X-Gm-Message-State: AOAM530iTZ0aK4pvdxjOZ9hkADIjAO1duz//gESH8AlQuzC+6zY9iTvz JdKHNF9QfkV7hb+2V/YmEWjLX9jMKoe+q2CHtNG58F8TwsbyDg== X-Google-Smtp-Source: ABdhPJzt8bmARXXZzq7CsKlQhHOJifs4QGoREDcKTzw/JXM7hszN79tQKC5C+9Ak6EHCrJYHuOw8XNuMrc9mt3XHGdU= X-Received: by 2002:a17:902:523:: with SMTP id 32mr15768338plf.176.1597777701586; Tue, 18 Aug 2020 12:08:21 -0700 (PDT) MIME-Version: 1.0 From: Hugo Buddelmeijer Date: Tue, 18 Aug 2020 21:08:10 +0200 Message-ID: Content-Type: multipart/alternative; boundary="000000000000554e5805ad2b9ccf" Received-SPF: pass client-ip=209.85.214.180; envelope-from=blackshift@gmail.com; helo=mail-pl1-f180.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/18 15:08:22 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.5 (/) X-Mailman-Approved-At: Tue, 18 Aug 2020 15:24:29 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.8 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: 3IWgcUuKpVKU --000000000000554e5805ad2b9ccf Content-Type: text/plain; charset="UTF-8" Dear Ricardo et al., The conda 4.8.3 package on guix does not seem to work as expected. Conda info: hugo@alex ~$ which conda /home/hugo/.guix-profile/bin/conda hugo@alex ~$ realpath $(which conda) /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/bin/conda hugo@alex ~$ conda -V conda 4.8.3 Creating an environment works fine: hugo@alex ~$ conda create -n testenv -y Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: /home/hugo/.conda/envs/testenv Preparing transaction: done Verifying transaction: done Executing transaction: done # # To activate this environment, use # # $ conda activate testenv # # To deactivate an active environment, use # # $ conda deactivate But activating it does not work properly: hugo@alex ~$ conda activate testenv CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run $ conda init Currently supported shells are: - bash - fish - tcsh - xonsh - zsh - powershell See 'conda init --help' for more information and options. IMPORTANT: You may need to close and restart your shell after running 'conda init'. Unfortunately, conda init does not work well, because it needs root access: hugo@alex ~$ conda init bash --dry-run no change /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/condabin/conda modified /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/bin/conda modified /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/bin/conda-env modified /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/bin/activate modified /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/bin/deactivate no change /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/etc/profile.d/conda.sh no change /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/etc/fish/conf.d/conda.fish no change /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/shell/condabin/Conda.psm1 no change /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/shell/condabin/conda-hook.ps1 no change /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/lib/python3.8/site-packages/xontrib/conda.xsh no change /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/etc/profile.d/conda.csh modified /home/hugo/.bashrc ==> For changes to take effect, close and re-open your current shell. <== The last change of the conda package seems to be 638ef1e81d8 from August 13. This is my first week with guix, so I'm not even sure where to begin to debug this. FWIW, maybe it would be simpler to create a micromamba package than a conda package: https://github.com/TheSnakePit/mamba Cheers, Hugo --000000000000554e5805ad2b9ccf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Ricardo et al.,

The= conda 4.8.3 package on guix does not seem to work as expected.
<= br>
Conda info:

hugo@alex ~$ which conda=
/home/hugo/.guix-profile/bin/conda
hugo@alex ~$ realpath $(which con= da)
/gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/bin/condahugo@alex ~$ conda -V
conda 4.8.3


Creating an environment works fine:

hugo@alex ~= $ conda create -n testenv -y
Collecting package metadata (current_repoda= ta.json): done
Solving environment: done

## Package Plan ##
=C2=A0 environment location: /home/hugo/.conda/envs/testenv

Prepar= ing transaction: done
Verifying transaction: done
Executing transacti= on: done
#
# To activate this environment, use
#
# =C2=A0 =C2= =A0 $ conda activate testenv
#
# To deactivate an active environment,= use
#
# =C2=A0 =C2=A0 $ conda deactivate

But activating it does not work properly:

hugo@alex ~$ conda activate testenv

CommandNotFoundError: Y= our shell has not been properly configured to use 'conda activate'.=
To initialize your shell, run

=C2=A0 =C2=A0 $ conda init <SHE= LL_NAME>

Currently supported shells are:
=C2=A0 - bash
=C2= =A0 - fish
=C2=A0 - tcsh
=C2=A0 - xonsh
=C2=A0 - zsh
=C2=A0 - p= owershell

See 'conda init --help' for more information and o= ptions.

IMPORTANT: You may need to close and restart your shell afte= r running 'conda init'.


Unf= ortunately, conda init does not work well, because it needs root access:

hugo@alex ~$ conda init bash --dry-run
no change = =C2=A0 =C2=A0 /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/conda= bin/conda
modified =C2=A0 =C2=A0 =C2=A0/gnu/store/ihn8dbs84rmc3ai7r1vkvh= 4cya518wmx-conda-4.8.3/bin/conda
modified =C2=A0 =C2=A0 =C2=A0/gnu/store= /ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/bin/conda-env
modified =C2= =A0 =C2=A0 =C2=A0/gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/bi= n/activate
modified =C2=A0 =C2=A0 =C2=A0/gnu/store/ihn8dbs84rmc3ai7r1vkv= h4cya518wmx-conda-4.8.3/bin/deactivate
no change =C2=A0 =C2=A0 /gnu/stor= e/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/etc/profile.d/conda.sh
no= change =C2=A0 =C2=A0 /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8= .3/etc/fish/conf.d/conda.fish
no change =C2=A0 =C2=A0 /gnu/store/ihn8dbs= 84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/shell/condabin/Conda.psm1
no chang= e =C2=A0 =C2=A0 /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/she= ll/condabin/conda-hook.ps1
no change =C2=A0 =C2=A0 /gnu/store/ihn8dbs84r= mc3ai7r1vkvh4cya518wmx-conda-4.8.3/lib/python3.8/site-packages/xontrib/cond= a.xsh
no change =C2=A0 =C2=A0 /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wm= x-conda-4.8.3/etc/profile.d/conda.csh
modified =C2=A0 =C2=A0 =C2=A0/home= /hugo/.bashrc

=3D=3D> For changes to take effect, close and re-op= en your current shell. <=3D=3D


The last change of = the conda package seems to be 638ef1e81d8 from August 13.

This is my first week with guix, so I'm not even sure where to = begin to debug this.

FWIW, maybe it would be s= impler to create a micromamba package than a conda package:
<= a href=3D"https://github.com/TheSnakePit/mamba">https://github.com/TheSnake= Pit/mamba

Cheers,
Hugo
--000000000000554e5805ad2b9ccf--