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 ms0.migadu.com with LMTPS id 2PD0I50pQ2FicgEAgWs5BA (envelope-from ) for ; Thu, 16 Sep 2021 13:25:17 +0200 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 2LSZH50pQ2EWcQAAbx9fmQ (envelope-from ) for ; Thu, 16 Sep 2021 11:25:17 +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 DA7422AC34 for ; Thu, 16 Sep 2021 13:25:16 +0200 (CEST) Received: from localhost ([::1]:36944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQpW0-00085x-0r for larch@yhetil.org; Thu, 16 Sep 2021 07:25:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQpVi-00085X-8q for help-guix@gnu.org; Thu, 16 Sep 2021 07:24:58 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:32868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQpVg-0002b0-7z for help-guix@gnu.org; Thu, 16 Sep 2021 07:24:58 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4H9F9c6pTmz1qwGj; Thu, 16 Sep 2021 13:24:52 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4H9F9c6ZqKz1qqkB; Thu, 16 Sep 2021 13:24:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id VEPCU1X9xgdl; Thu, 16 Sep 2021 13:24:52 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-61-8.dynamic.mnet-online.de [188.174.61.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Thu, 16 Sep 2021 13:24:52 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id C0FC06011F; Thu, 16 Sep 2021 13:24:56 +0200 (CEST) Subject: Re: Issue about building python on a foreign distro To: Wade Zhang , help-guix@gnu.org References: From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: <11db7282-2c97-c4da-8dd8-4c9089934435@crazy-compilers.com> Date: Thu, 16 Sep 2021 13:24:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -40 X-Spam_score: -4.1 X-Spam_bar: ---- X-Spam_report: (-4.1 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-1.488, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631791517; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=pWUu/I5j0rZbA4X5U7DYoKOcMQbLzM9KwMGVKZ2MIMo=; b=iY95rn2LDXbDH5nhVImnJRURwzpNRPLyTNCx0YiziY7rJ/yKJkHPkptoq8x1k/hpn/kJ7p 3blRYJwaDfa9AtmAjgGlif83MngDhVGAB8gQZelVbeWZzI/l8mBz5BxUH4NLSld6I9KhRT ECMsDO9665ExPtEkN846sm8KTiIHOukitS5HD0Dm4ny1wS1EBEAxXQ21IVeMpv63MWVxYR zoaOcZar2VP60neTQ7TpuFGLGKHbVAjvnfiBv0x9BBilcj0734QxuE4u0GIoVzBiXWrPm3 mFZZG3Ffi/F7zR0MI5tfs0cPPlUJtFEZsVIQN2U2/XDFe4ZERWN1gvrRrRstyg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631791517; a=rsa-sha256; cv=none; b=JOErGMITPiP6ReVlFl/njgxx2lmr3xLzPpOojFHoCj9xXPRFbMm+UU6IYEjgjvWlZ0R4r/ ckUdzgpIJ8fCNjRKeM6e5osexJqOIwW59zp6ojl1JZck2TKSPa1mnavA9kkzkR2a/bPUXb +3S4maoGeugA9Xbq6p+tCuK6TN5u/NWLRGkyixHReJDg0LK81i+ekma+ymLyj3Mf3eGGdQ y5IrxK0DSk33Gha8La0d5f6luBjphSNnq2Tv5eGPbp/ViQISzPl+tUN7eNv9x89qpSBjfi E4ibk73NM7yiqws92P/uns4zobM+NcH7qLRTlAfv3hS0IupP1lky0Pbasug2FQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.40 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: DA7422AC34 X-Spam-Score: -2.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: bIyJbGVnhqku Am 22.08.21 um 13:27 schrieb Wade Zhang: > Recently I installed Guix on a Debian buster host. I want to install all build > dependencies by Guix. Since I use pyenv to manage Python versions, I have to > install Python outside Guix. Now I get stuck during the Python installation. I never used pyenv, but Python's virtual environments a lot. Lately I moved on to "direnv" for most projects, as this matches my "directory based" working style. Maybe you want to give it a try? A typical ".envrc" file for me looks like this (combining both a guix profile and a virtual env for developing the current package) ...8<------- use_guix --load-path=../guix-channel \      -v 1 --keep-failed \      --ad-hoc glibc-utf8-locales python-wrapper python-pip python-virtualenv \      python-pep-adapter sequoia python-pyyaml python-requests \      python-setuptools python-setuptools-scm python-wheel python-babel \      python-pytest@5.3.5 python-pytest-cov python-pytest-mp \      python-requests-mock python-filelock python-pexpect layout_python3 --system-site-packages pip install -e . path_add PYTHONPATH $PWD ...8<------- -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |