From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id WCdQHMl5Omb/gQAA62LTzQ:P1 (envelope-from ) for ; Tue, 07 May 2024 20:58:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WCdQHMl5Omb/gQAA62LTzQ (envelope-from ) for ; Tue, 07 May 2024 20:58:17 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="YoLm/m+e"; dmarc=pass (policy=none) header.from=gmail.com; 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=1715108297; a=rsa-sha256; cv=none; b=QQQxXXeQBaWYobXqTyeYjl9bWPAhLNwHZi8MjdLRQ42TJ3K/psduQ4J3tuK4yWWr91MN42 K/27TEBecw301gDv/+mdV3Kwpi25jl4Ly1TDUwey5efBGWPs0njnDZcp498dRXw8Zdpxl0 LRFkApl0P90oOeGSd9cDE1q2v+nI17mIPf8iLxbJf8oZbgyqkGWsy7qvHK99AFYhEMbzKk 0wUJOTuH9TVuT2vUqdrqEb8u/dzXyoeiQd/qcZr91XRshSEZr03ncNI4TiaPBv7tqr5zkm jbF4za7tYf+Yh5Pzjg6LMp4DLHQvOQULSer3Aiur1x7TkPxXKuHxJ3dufpU29w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="YoLm/m+e"; dmarc=pass (policy=none) header.from=gmail.com; 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=1715108297; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=gOP8JWqTBfcmStrXLjjMc33GmBeZtodSR34omlAGep0=; b=oPsjyU7A14fREqLu30XTAkOFC9u3xKTOhGgcpyIRLpiBNvlqe/445oJ4XrmZUh2gPNdyYm FmpawEqptGBUdPkceWz5IMtkMbD0Yy3G3e1fIpGypaZ2oQ2059XBOyH04A0oP9UNiHKbbp w/klYGkwpocvw642TypbZ8zImaVZdObVmq50ICGbJoToJaMlRWW8luMLRQloKi/D1rA4T6 I4gkBm6s0buOR06whYeZKXqYm/sZ7qapySqOOJ06SSQSYQ22V1lrClzM9tptFr+LQWzVpg F8ptXKPiarnxUBSBKJGf6S4GSohymkqpfOl+LbsKPnq7ElgMZvLhkkaqCMJEEA== 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 42F371ED14 for ; Tue, 7 May 2024 20:58:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4Q0a-0006b1-LZ; Tue, 07 May 2024 14:57:50 -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 1s4Q0N-0006Yt-NE for help-guix@gnu.org; Tue, 07 May 2024 14:57:36 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s4Q0L-0004TX-Ut for help-guix@gnu.org; Tue, 07 May 2024 14:57:35 -0400 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2e28dd33037so1125251fa.0 for ; Tue, 07 May 2024 11:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715108251; x=1715713051; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=gOP8JWqTBfcmStrXLjjMc33GmBeZtodSR34omlAGep0=; b=YoLm/m+eyebovJm4vi/cabDJpEK2W2V9lIV6kEEiHWgHWhWfBhToV1RYY1tr3LZSe8 ODTdBLQaawtXaw4kIt7V9uGbPp11oePpcej7bXJQ/y+nbY8TserC/+VHNW6kHy+zlf0j l7T+gPwXc5wj41dgi18OPkRxjKVGrgIr7wyTzy3o9TG4SrFTmh1Rr9B6OvV4DlYCHY1b EuT37OYlLQli+G7O5WkmMM8V00GLD7pkavyNrs4ScFR8MuoAIqBnDh+VrewrCM5xR1Jx 3VfwvZWvfeo52Dp+AhFyIgVhfZ/qz8OkkBBpk+QD+6t/Y13vGUX3xwhwV6AKJCh/x5Gn 6KQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715108251; x=1715713051; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gOP8JWqTBfcmStrXLjjMc33GmBeZtodSR34omlAGep0=; b=R6InXvAYAXazK+cv87bd8dOB3APWUVCSloF4NDxCRPsFEaQse/57V62CBdpi1RPAdp 3ag/EtOr7+MF3WhhvG33dygkrej8fKwMD6RPfnVUCfEEUxz3zD5FmZGLtK1GECPF9i/K pv+uroGPkiSb3qw3kxPIzTn44SrNQggb0rDOIvkivzxGwcO9bsih+x+LfvS/4IFt7En7 r9N4Mvh/OqxBIDLVNxunOzyuhnTe8e+BC1p+WvuP6gHaH4BTS7Zz724Ua3+SdpQvdQm6 Xt/i4TIymTSBZG++8KwpKHpgFYxylfzPgZ9AoYao8HeNRP4DE/p0ih76hr3qrybMu0Cg u8rg== X-Gm-Message-State: AOJu0YwkLB3jEOfi8qNUIDOJFOlNxOhoX+W7UqAml/9rGMTNL11hXgLb 0uqRBeHmtj41IfNHxUdj3Qgv9a2iYWqSC9kDHBZ5y8zOChI+Rye29XbaAA== X-Google-Smtp-Source: AGHT+IH0XhXNd0/53Kxj8uJe/A89ZOFG0JR92X8hnkQ4x+WatmTI4aD5YH3SBKgbglBagupXfX9Hfg== X-Received: by 2002:a2e:b0ca:0:b0:2de:1218:af30 with SMTP id 38308e7fff4ca-2e446d7ebb6mr2751271fa.1.1715108250356; Tue, 07 May 2024 11:57:30 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-41.net.univ-paris-diderot.fr. [194.254.61.41]) by smtp.gmail.com with ESMTPSA id o27-20020a05600c511b00b00418a386c17bsm24140770wms.12.2024.05.07.11.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 11:57:29 -0700 (PDT) From: Simon Tournier To: Ricardo Wurmus Cc: help-guix@gnu.org, QUENTIN Samuel Subject: Re: how to use r-keras? In-Reply-To: <87jzlkaa7p.fsf@elephly.net> References: <87y1a15cym.fsf@gmail.com> <87jzlkaa7p.fsf@elephly.net> Date: Mon, 06 May 2024 19:11:21 +0200 Message-ID: <87edaeq30m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=zimon.toutoune@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_24_48=1.34, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 42F371ED14 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.71 X-Spam-Score: -7.71 X-TUID: 2P+RvJ33if7Z Hi Ricardo, On sam., 30 mars 2024 at 00:27, Ricardo Wurmus wrote: >> $ guix shell r r-keras -C python-minimal r-reticulate tensorflow > > Is this with tensorflow from guix-science? The old Tensorflow 1.9 in > Guix does not provide Keras. Only the more recent one in Guix Science > does. Using Guix 929ddec, it fails as reported previously; using tensorflow@1.9.0. Let try with tensorflow@2.13.1. Well, although I have guix.bordeaux.inria.fr as substitutes, I had to rebuild tensorflow. Ouch! Then I get this: --8<---------------cut here---------------start------------->8--- $ guix time-machine -C channels.scm -- shell -C r r-keras -C python-minimal= r-reticulate tensorflow@2.13.1 simon@lili /tmp [env]$ R R version 4.3.3 (2024-02-29) -- "Angel Food Cake" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-unknown-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(keras) > model <- keras_model_sequential() Would you like to create a default python environment for the reticulate pa= ckage? (Yes/no/cancel) no Error: Valid installation of TensorFlow not found. Python environments searched for 'tensorflow' package: /gnu/store/66ncidnhpj2djnik3g6iljzr30k056cy-python-minimal-3.10.7/bin/pyth= on3.10 Python exception encountered: Traceback (most recent call last): File "/gnu/store/sd979h0ckv6fnmwqvlypq91w49q9521k-r-reticulate-1.35.0/sit= e-library/reticulate/python/rpytools/loader.py", line 119, in _find_and_loa= d_hook return _run_hook(name, _hook) File "/gnu/store/sd979h0ckv6fnmwqvlypq91w49q9521k-r-reticulate-1.35.0/sit= e-library/reticulate/python/rpytools/loader.py", line 93, in _run_hook module =3D hook() File "/gnu/store/sd979h0ckv6fnmwqvlypq91w49q9521k-r-reticulate-1.35.0/sit= e-library/reticulate/python/rpytools/loader.py", line 117, in _hook return _find_and_load(name, import_) ModuleNotFoundError: No module named 'tensorflow' You can install TensorFlow using the install_tensorflow() function. --8<---------------cut here---------------end--------------->8--- And I guess that=E2=80=99s not better. :-) Hum, working with Keras needs more love=E2=80=A6 Cheers, simon