From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CCinD1wK2GTO+wAASxT56A (envelope-from ) for ; Sun, 13 Aug 2023 00:40:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8OfbD1wK2GQQAQEA9RJhRA (envelope-from ) for ; Sun, 13 Aug 2023 00:40:28 +0200 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 EB95060472 for ; Sun, 13 Aug 2023 00:40:27 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=atai-org.20221208.gappssmtp.com header.s=20221208 header.b=FDFDZZ3s; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691880028; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xEA3W+mE2qdmlCVGyY2QXgR/32oeAtX6mwrYExWgMzk=; b=eWt/Iq33PrgEp8Mv6ucNE+8UO5NPeOy0WZ7fMjoJq1z0h7zVEcQNBU401dZRoBxhCIktUW PwD6lFxTJhjJQCA3pBpmMASIslQUK4mc4+7kzWB5s9m+WoLDacmM52JfKHU7EBUYN+Nyn1 +25czoEjGmcBR149AbF5dnddHOkEdcrkuc8awIpcx065dXLuOVL5fem/W5befQjUUsW0qD p7h5EB/CYNOAtvgAF5xLa1u+s+2/3HfBhjCDNlBhiNX6WjoJlozimjPRGjI+beuUjCLAai /msF5ZRGbts0RnBbkzOTzOa9EC01XxBxHGRb33f4gH1DsJvCihs1o6NDe196hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=atai-org.20221208.gappssmtp.com header.s=20221208 header.b=FDFDZZ3s; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691880028; a=rsa-sha256; cv=none; b=iML+6EBnN586hBpNwJpUFU9+1UPEBHcZKqj5ojYZVdJgvfog/0oDq83IIOK5js7aBBmcMB LSMA0eDj+i+IngJPNFH95BusZz8g3Zf5wDfQzsDA0+doVAiQPOKg7Ggpxc6bqajG8oJqZW CN/wJekHKKCxEOfqQQEwNWUnZJ9VSfplOFMK0Dn6mgBIlaeZeOE5Kw/mD7IS5tXXr0+LMW 0wfrvEi440ktRrSw2HQOYZTMnklp2eLXG03BBfwbdkOpzqdXe7kHnKeWGv7BWOsugomUVw wMrcE89t5OCPNkLDN77sCJELKnYvXv6ZqTL8HP3fFI4/qgM9DES+ejjwD97i7A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUxH8-00046s-Pe; Sat, 12 Aug 2023 18:40:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qUxH3-00046X-FZ for help-guix@gnu.org; Sat, 12 Aug 2023 18:39:57 -0400 Received: from mail-oo1-xc32.google.com ([2607:f8b0:4864:20::c32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qUxH0-0000m9-So for help-guix@gnu.org; Sat, 12 Aug 2023 18:39:56 -0400 Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-56e137ce79eso231584eaf.0 for ; Sat, 12 Aug 2023 15:39:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atai-org.20221208.gappssmtp.com; s=20221208; t=1691879992; x=1692484792; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xEA3W+mE2qdmlCVGyY2QXgR/32oeAtX6mwrYExWgMzk=; b=FDFDZZ3sumOUfV2gpYkansGYRW+F9nEU6B/UAH6DXvOrstA+w7NwDkarfhtmSINq9N 35r5y8Wcl2/rqgCb2wMZbgViNyMzSvctiXBj8IEPRGpkwh6EamLXHIzL9z0VfFilOe1/ LjaTNy+kx/ZbqzALM+QMulHimr9pi11EEB0SFIhV8NC34bSLDNSm+/xWS2LPge+oatSk xh+awnc5TRehOclBPxkJ3JIerNiuYfRb+xv5YDIy9HMwTfozd8Jox9yX1xeUzBpnKgcT qWzD300XqKbSQjsUiHzUWHxQKtwYfja38RJfCen+bI2eRqwg8IqGBXirbNJsRSLUPBqT qOoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691879992; x=1692484792; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xEA3W+mE2qdmlCVGyY2QXgR/32oeAtX6mwrYExWgMzk=; b=LPb9SCCEECqOV7gULWj/J9X2MiOewWM46LPd3KbbcOFtSL1phLECC3tuHV1vjoQcUq h8ACPkGJcXEHUg6YKAqeRy8h9Inl1kl5Ov9ER+fXhLGlXZHLoas3LQ7OwWVhPPQ2p9hO UdkXG14pYl1weijtTeDxk9TQkBPtge46f8K0zWzx4lBK33uFl5k/peYDDPzauGyXqkTm onmOS9WNMlsNlThdrnEpz7RiqbJ91+GH5HYXh9ftMp9/bmcpGVokWmDm4HL5YrRp0/FN bUnbLqUMcNxPcUlEWyeWQ1R0gDjB6IJm4j7EA0xR0ELzU/K+fjcZEqefT+xLM27MGvzR pfSg== X-Gm-Message-State: AOJu0Yw5WFpoURqXbyJ/AAxuE36Yk0dnxqgPsR1uTdrGNe+ZOK7PGHoe zgRmwlslVhPZnzOxkJVAP27YF9P/mCnPUkctoz3MxaaagCZvGw== X-Google-Smtp-Source: AGHT+IEODVuPsPK9aIWwse+XR7dE673MF7w+0PBFYfDhcZtU08DZopAhkGGLtm1+g/Br8i3Zr+qOJrJXCvGwwG/um14= X-Received: by 2002:a4a:240c:0:b0:564:e465:5d5c with SMTP id m12-20020a4a240c000000b00564e4655d5cmr3930566oof.2.1691879992571; Sat, 12 Aug 2023 15:39:52 -0700 (PDT) MIME-Version: 1.0 From: Andy Tai Date: Sat, 12 Aug 2023 15:39:16 -0700 Message-ID: Subject: problem trying to install python module in python virtual environment on top of Guix To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::c32; envelope-from=lichengtai@gmail.com; helo=mail-oo1-xc32.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -8.96 X-Migadu-Queue-Id: EB95060472 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -8.96 X-TUID: dOSOJz9M3055 Hi, on a Guix system I tried to install python dependencies in a python virtual environment. I installed Guix packages python-toolchain and python-virtualenv, and use the basic python commands virtualenv and pip3 to go ahead and install dependencies in a typical python manner. I got one error in a dependencies that tried to build C modules which involves using cmake in this python environment: (not the system cmake but something python stuff installed as part of its process): Building wheels for collected packages: llama-cpp-python Building wheel for llama-cpp-python (pyproject.toml) ... error error: subprocess-exited-with-error =C3=97 Building wheel for llama-cpp-python (pyproject.toml) did not run successfully. =E2=94=82 exit code: 1 =E2=95=B0=E2=94=80> [9 lines of output] Traceback (most recent call last): File "/tmp/pip-build-env-44zbk4iu/overlay/lib/python3.10/site-packa= ges/skbuild/setuptools_wrap.py", line 645, in setup cmkr =3D cmaker.CMaker(cmake_executable) File "/tmp/pip-build-env-44zbk4iu/overlay/lib/python3.10/site-packa= ges/skbuild/cmaker.py", line 148, in __init__ self.cmake_version =3D get_cmake_version(self.cmake_executable) File "/tmp/pip-build-env-44zbk4iu/overlay/lib/python3.10/site-packa= ges/skbuild/cmaker.py", line 105, in get_cmake_version raise SKBuildError(msg) from err Problem with the CMake installation, aborting build. CMake executable is /tmp/pip-build-env-44zbk4iu/overlay/lib/python3.10/site-packa= ges/cmake/data/bin/cmake [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for llama-cpp-python Failed to build llama-cpp-python ERROR: Could not build wheels for llama-cpp-python, which is required to install pyproject.toml-based projects [notice] A new release of pip is available: 23.1.2 -> 23.2.1 [notice] To update, run: pip install --upgrade pip wonders if anyone knows if the above can be attempted on top of Guix; not sure if the C build environment can be seen properly under Python virtualenv Also the Python tools packaged in Guix seem rather old, and tat can be part of the issue here.