From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MPLWBpTFjV+9ZwAA0tVLHw (envelope-from ) for ; Mon, 19 Oct 2020 16:57:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ILazApTFjV+acwAA1q6Kng (envelope-from ) for ; Mon, 19 Oct 2020 16:57:56 +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 9AC6A9400D3 for ; Mon, 19 Oct 2020 16:57:54 +0000 (UTC) Received: from localhost ([::1]:53244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUYTp-00049I-Gc for larch@yhetil.org; Mon, 19 Oct 2020 12:57:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUYRd-0001x9-Ls for help-guix@gnu.org; Mon, 19 Oct 2020 12:55:37 -0400 Received: from flashner.co.il ([178.62.234.194]:35818) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUYRX-0008RE-Qh for help-guix@gnu.org; Mon, 19 Oct 2020 12:55:37 -0400 Received: from [127.0.0.1] (unknown [141.226.13.8]) by flashner.co.il (Postfix) with ESMTPSA id 91CFC402C7; Mon, 19 Oct 2020 16:54:57 +0000 (UTC) Date: Mon, 19 Oct 2020 16:54:27 +0000 From: Efraim Flashner To: Zelphir Kaltstahl Subject: Re: guix import error + New: setting up a jupyterlab environment User-Agent: K-9 Mail for Android In-Reply-To: <9e21d4d8-aca7-5742-3e2e-70334711321e@posteo.de> References: <87d01ibbo3.fsf@nckx> <74577458-7e58-4647-fd3d-62047b6d484b@posteo.de> <20201018163550.GI974@E5400> <9e21d4d8-aca7-5742-3e2e-70334711321e@posteo.de> Message-ID: <184E2A08-C711-43B1-8CBF-3647FBB0EAE8@flashner.co.il> MIME-Version: 1.0 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/19 12:54:58 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 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-Spam-Score: -1.01 X-TUID: mOPR9+u9ZmoN It looks like you need to add python-ipykernel to native-inputs=2E Unless i= t's needed to run the program and not just for the test suite, in which cas= e it should go in propagated-inputs=2E There's no network available in the = build environment so it can't retrieve ipykernel while building=2E On October 19, 2020 2:31:53 PM UTC, Zelphir Kaltstahl wrote: >Hello Efraim! > >Thank you! Your idea of replacing "-" with "_" seems to partially help: > >The package is downloaded and byte compiled=2E However, afterwards there >is a problem, when it tries to copy the byte-compiled files in the "wrap >phase" (comments inserted in some places): > >~~~~START~~~~ >### =2E=2E=2E a lot of output before this =2E=2E=2E > >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/__init= __=2Epy to __init__=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/_versi= on=2Epy to _version=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/app=2E= py to app=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/handle= rs=2Epy to handlers=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/listin= gs_handler=2Epy to listings_handler=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/proces= s=2Epy to process=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/proces= s_app=2Epy to process_app=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/server= =2Epy to server=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/server= test=2Epy to servertest=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/settin= gs_handler=2Epy to settings_handler=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/themes= _handler=2Epy to themes_handler=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/worksp= aces_handler=2Epy to workspaces_handler=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/tests/= __init__=2Epy to __init__=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/tests/= test_settings_api=2Epy to test_settings_api=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/tests/= test_workspaces_api=2Epy to test_workspaces_api=2Ecpython-38=2Epyc >byte-compiling /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyter= lab-server-1=2E2=2E0/lib/python3=2E8/site-packages/jupyterlab_server/tests/= utils=2Epy to utils=2Ecpython-38=2Epyc > >### =2E=2E=2E seems byte-compiling went without problems, but not comes t= he problem =2E=2E=2E > >running install_egg_info >Copying jupyterlab_server=2Eegg-info to /gnu/store/yr7q21bws1xgx3p2dy9cfd= iknjpsajm6-python-jupyterlab-server-1=2E2=2E0/lib/python3=2E8/site-packages= /jupyterlab_server-1=2E2=2E0-py3=2E8=2Eegg-info >running install_scripts >phase `install' succeeded after 0=2E3 seconds >starting phase `wrap' >find-files: /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyterlab= -server-1=2E2=2E0/bin: No such file or directory >find-files: /gnu/store/yr7q21bws1xgx3p2dy9cfdiknjpsajm6-python-jupyterlab= -server-1=2E2=2E0/sbin: No such file or directory >phase `wrap' succeeded after 0=2E0 seconds >starting phase `check' >running "python setup=2Epy" with command "test" and parameters () >running test >Searching for ipykernel >Reading https://pypi=2Eorg/simple/ipykernel/ >Download error on https://pypi=2Eorg/simple/ipykernel/: [Errno -2] Name o= r service not known -- Some packages may not be found! >Couldn't find index page for 'ipykernel' (maybe misspelled?) >Scanning index of all packages (this may take a while) >Reading https://pypi=2Eorg/simple/ >Download error on https://pypi=2Eorg/simple/: [Errno -2] Name or service = not known -- Some packages may not be found! >No local packages or working download links found for ipykernel >error: Could not find suitable distribution for Requirement=2Eparse('ipyk= ernel') >command "python" "-c" "import setuptools, tokenize;__file__=3D'setup=2Epy= ';f=3Dgetattr(tokenize, 'open', open)(__file__);code=3Df=2Eread()=2Ereplace= ('\\r\\n', '\\n');f=2Eclose();exec(compile(code, __file__, 'exec'))" "test"= failed with status 1 >~~~~~END~~~~~ > >So it seems, that while the download URL is corrected, there is another >place, where Guix has an error now, resulting in a final error shown in >command line: > >~~~~START~~~~ >$ guix time-machine --channels=3Dchannels=2Escm -- environment --manifest= =3Dmanifest=2Escm --load=3Djupyterlab=2Escm >Updating channel 'guix' from Git repository at 'https://git=2Esavannah=2E= gnu=2Eorg/git/guix=2Egit'=2E=2E=2E >substitute: updating substitutes from 'https://ci=2Eguix=2Egnu=2Eorg'=2E= =2E=2E 100=2E0% >The following derivations will be built: > /gnu/store/wzmfn9m45bmsbrx094rv3lf3w0rpmw49-python-pytest-check-links-= 0=2E3=2E0=2Edrv > /gnu/store/96xf5mrg134mcsp01b0m1qs1lxkb401a-python-jupyterlab-server-1= =2E2=2E0=2Edrv > /gnu/store/32a28hd7aainwn0hfsnf3blh8prmfz61-jupyterlab_server-1=2E2=2E= 0=2Etar=2Egz=2Edrv > >3,9 MB will be downloaded >downloading from https://ci=2Eguix=2Egnu=2Eorg/nar/lzip/54kpl9psx16jwic4g= pnjwh44kim04wlk-python-notebook-5=2E7=2E4 =2E=2E=2E > python-notebook-5=2E7=2E4 3=2E7MiB = = = 5=2E1MiB/s 00:01 [##################] 100=2E0% > >building /gnu/store/32a28hd7aainwn0hfsnf3blh8prmfz61-jupyterlab_server-1= =2E2=2E0=2Etar=2Egz=2Edrv=2E=2E=2E >downloading from https://files=2Epythonhosted=2Eorg/packages/source/j/jup= yterlab_server/jupyterlab_server-1=2E2=2E0=2Etar=2Egz =2E=2E=2E >building /gnu/store/wzmfn9m45bmsbrx094rv3lf3w0rpmw49-python-pytest-check-= links-0=2E3=2E0=2Edrv=2E=2E=2E >building /gnu/store/96xf5mrg134mcsp01b0m1qs1lxkb401a-python-jupyterlab-se= rver-1=2E2=2E0=2Edrv=2E=2E=2E >\ 'check' phasebuilder for `/gnu/store/96xf5mrg134mcsp01b0m1qs1lxkb401a-p= ython-jupyterlab-server-1=2E2=2E0=2Edrv' failed with exit code 1 >build of /gnu/store/96xf5mrg134mcsp01b0m1qs1lxkb401a-python-jupyterlab-se= rver-1=2E2=2E0=2Edrv failed >View build log at '/var/log/guix/drvs/96/xf5mrg134mcsp01b0m1qs1lxkb401a-p= ython-jupyterlab-server-1=2E2=2E0=2Edrv=2Ebz2'=2E >guix environment: error: build of `/gnu/store/96xf5mrg134mcsp01b0m1qs1lxk= b401a-python-jupyterlab-server-1=2E2=2E0=2Edrv' failed >~~~~~END~~~~~ > >Apparently ipykernel is not found, but when I visit >https://pypi=2Eorg/simple/ipykernel/, I see packages there=2E > >>From the logs: > >~~~~START~~~~ >Download error on https://pypi=2Eorg/simple/ipykernel/: [Errno -2] Name o= r service not known -- Some packages may not be found! >Couldn't find index page for 'ipykernel' (maybe misspelled?) >~~~~~END~~~~~ > >Do I need to add another input in my `jupyterlab=2Escm`? (How?) Or perhap= s >I need to create a separate `ipykernel=2Escm` which contains the output o= f >`guix import pypi --recursive ipykernel`? > >However, it somehow seems to fail for PyPI simple in general (from the >logs again): > >~~~~START~~~~ >Reading https://pypi=2Eorg/simple/ >Download error on https://pypi=2Eorg/simple/: [Errno -2] Name or service = not known -- Some packages may not be found! >No local packages or working download links found for ipykernel >error: Could not find suitable distribution for Requirement=2Eparse('ipyk= ernel') >command "python" "-c" "import setuptools, tokenize;__file__=3D'setup=2Epy= ';f=3Dgetattr(tokenize, 'open', open)(__file__);code=3Df=2Eread()=2Ereplace= ('\\r\\n', '\\n');f=2Eclose();exec(compile(code, __file__, 'exec'))" "test"= failed with status 1 >~~~~~END~~~~~ > >Thanks, >Zelphir > > >On 10/18/20 6:35 PM, Efraim Flashner wrote: >> On Sun, Oct 18, 2020 at 01:55:49PM +0200, Zelphir Kaltstahl wrote: >>> Hello Guix Users, hello Zimoun and Tobias! >>> >>> Thanks for your information regarding the importer syntax thing=2E >>> >>> I continued trying to get a jupyterlab environment today=2E >>> >>> Here is what I did so far: >>> >>> (1) Create my manifest file: >>> >>> ~~~~START~~~~ >>> (specifications->manifest >>> '("python")) >>> ~~~~~END~~~~~ >>> >>> (2) Create my channels file: >>> >>> ~~~~START~~~~ >>> $ guix describe --format=3Dchannels > channels=2Escm >>> $ cat channels=2Escm >>> (list (channel >>> (name 'guix) >>> (url "https://git=2Esavannah=2Egnu=2Eorg/git/guix=2Egit") >>> (commit >>> "6ca673b30dac281ba27a8dac242c0ac83e5e354b") >>> (introduction >>> (make-channel-introduction >>> "9edb3f66fd807b096b48283debdcddccfea34bad" >>> (openpgp-fingerprint >>> "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))= ) >>> ~~~~~END~~~~~ >>> >>> (3) Create my jupyterlab PyPI import file, this time around using the >>> "/" instead of "@" for specifying the version: >>> >>> ~~~~START~~~~ >>> $ guix import pypi --recursive jupyterlab/2=2E1=2E5 > jupyterlab=2Escm >>> ~~~~~END~~~~~ >>> >>> (4) Add missing import expressions and add output expression at the en= d: >>> >>> ~~~~START~~~~ >>> ;; add module imports >>> (use-modules >>> (guix packages) >>> (guix download) >>> (guix build-system python) >>> ((guix licenses) #:prefix license:) >>> ;; use `guix environment --ad-hoc python-jinja2 -- guix package -A py= thon-jinja2` to find the location of python-jinja2, which is gnu/packages/p= ython-xyz=2Escm >> This can be just 'guix package -A python-jinja2', no need for the >> environment=2E >> >>> (gnu packages python-xyz) >>> ;; for python-tornado >>> (gnu packages python-web) >>> ;; for python-pytest >>> (gnu packages check)) >>> >>> ;; QUESTION: Why are those required packages not imported by guix auto= matically? >>> ;; QUESTION: Why are the manually imported packages not actually in fi= les with their own name, but instead jinja2 -> python-xyz, tornado -> pytho= n-web, and pytest -> check? >>> ;; QUESTION: Is my process of finding the files in which the packages = are correct or just working by chance? >>> >>> (define-public python-jupyterlab-server >>> (package >>> (name "python-jupyterlab-server") >>> (version "1=2E2=2E0") >>> (source >>> (origin >>> (method url-fetch) >>> (uri (pypi-uri "jupyterlab-server" version)) >>> (sha256 >>> (base32 >>> "132xby7531rbrjg9bqvsx86birr1blynjxy8gi5kcnb6x7fxjcal")))) >>> (build-system python-build-system) >>> (propagated-inputs >>> `(("python-jinja2" ,python-jinja2) >>> ("python-json5" ,python-json5) >>> ("python-jsonschema" ,python-jsonschema) >>> ("python-notebook" ,python-notebook) >>> ("python-requests" ,python-requests))) >>> (native-inputs >>> `(("python-pytest" ,python-pytest) >>> ("python-requests" ,python-requests))) >>> (home-page "https://jupyter=2Eorg") >>> (synopsis "JupyterLab Server") >>> (description "JupyterLab Server") >>> (license license:bsd-3))) >>> >>> (define-public python-jupyterlab >>> (package >>> (name "python-jupyterlab") >>> (version "2=2E1=2E5") >>> (source >>> (origin >>> (method url-fetch) >>> (uri (pypi-uri "jupyterlab" version)) >>> (sha256 >>> (base32 >>> "162jn51cg36fsn4l2zhnb5n4nbkhm9wlv974ggcnmdij3i4r4yya")))) >>> (build-system python-build-system) >>> (propagated-inputs >>> `(("python-jinja2" ,python-jinja2) >>> ("python-jupyterlab-server" >>> ,python-jupyterlab-server) >>> ("python-notebook" ,python-notebook) >>> ("python-tornado" ,python-tornado))) >>> (native-inputs >>> `(("python-pytest" ,python-pytest) >>> ("python-pytest-check-links" >>> ,python-pytest-check-links) >>> ("python-requests" ,python-requests) >>> ("python-virtualenv" ,python-virtualenv) >>> ("python-wheel" ,python-wheel))) >>> (home-page "http://jupyter=2Eorg") >>> (synopsis >>> "The JupyterLab notebook server extension=2E") >>> (description >>> "The JupyterLab notebook server extension=2E") >>> (license license:bsd-3))) >>> >>> python-jupyterlab >>> ~~~~~END~~~~~ >>> >>> And as noted in the comments, I have 3 questions at this point: >>> >>> (Q1) Why are those required packages not imported by guix automaticall= y? >>> (My guess: This functionality simply has not yet been implemented=2E) >>> >>> (Q2) Why are the manually imported packages not actually in files with >>> their own name, but instead jinja2 -> python-xyt, tornado -> python-we= b, >>> and pytest -> check? Why not (gnu packages python pytest) for example? >>> >>> (Q3) Is my process of finding the files in which the packages are >>> correct or just working by chance? Basically I am creating temporary >>> environments, in which I then lookup "where would the package be >>> installed" and then exit the temporary environment to use that >>> information in my imported package file's import expressions / >>> use-modules expression=2E This seems to be a bit of a convoluted proce= ss, >>> though worth it, if it always works in the end=2E >>> >>> (4) Now I run my time-machine command: >>> >>> ~~~~START~~~~ >>> $ guix time-machine --channels=3Dchannels=2Escm -- environment --manif= est=3Dmanifest=2Escm --load=3Djupyterlab=2Escm >>> ~~~~~END~~~~~ >>> >>> This take a moment and then I get an error (the full output is longer, >>> but when running it multiple times, already successful steps are not a= ll >>> done repeatedly, so the output is then reduced to what fails): >>> >>> ~~~~START~~~~ >>> $ guix time-machine --channels=3Dchannels=2Escm -- environment --manif= est=3Dmanifest=2Escm --load=3Djupyterlab=2Escm >>> Updating channel 'guix' from Git repository at 'https://git=2Esavannah= =2Egnu=2Eorg/git/guix=2Egit'=2E=2E=2E >>> The following derivations will be built: >>> /gnu/store/wzmfn9m45bmsbrx094rv3lf3w0rpmw49-python-pytest-check-lin= ks-0=2E3=2E0=2Edrv >>> /gnu/store/n9i421lrbwrr8d0947w5vma7rhy3iyba-python-jupyterlab-serve= r-1=2E2=2E0=2Edrv >>> /gnu/store/s7jc2dbb0bnrahxklmszmpfv8klgw3sd-jupyterlab-server-1=2E2= =2E0=2Etar=2Egz=2Edrv >>> >>> 4,2 MB will be downloaded >>> downloading from https://ci=2Eguix=2Egnu=2Eorg/nar/lzip/2nahbs5v8q073g= jmy224gk0h5lsh1kkw-python-nbconvert-5=2E0=2E0b1 =2E=2E=2E >>> python-nbconvert-5=2E0=2E0b1 301KiB = = = 2=2E0MiB/s 00:00 [##################] 100=2E0% >>> >>> building /gnu/store/s7jc2dbb0bnrahxklmszmpfv8klgw3sd-jupyterlab-server= -1=2E2=2E0=2Etar=2Egz=2Edrv=2E=2E=2E >>> |builder for `/gnu/store/s7jc2dbb0bnrahxklmszmpfv8klgw3sd-jupyterlab-s= erver-1=2E2=2E0=2Etar=2Egz=2Edrv' failed to produce output path `/gnu/store= /92md7gh966n4fzj6al267lqq4xjx0ncf-jupyterlab-server-1=2E2=2E0=2Etar=2Egz' >>> build of /gnu/store/s7jc2dbb0bnrahxklmszmpfv8klgw3sd-jupyterlab-server= -1=2E2=2E0=2Etar=2Egz=2Edrv failed >>> View build log at '/var/log/guix/drvs/s7/jc2dbb0bnrahxklmszmpfv8klgw3s= d-jupyterlab-server-1=2E2=2E0=2Etar=2Egz=2Edrv=2Ebz2'=2E >>> cannot build derivation `/gnu/store/n9i421lrbwrr8d0947w5vma7rhy3iyba-p= ython-jupyterlab-server-1=2E2=2E0=2Edrv': 1 dependencies couldn't be built >>> killing process 7384 >>> guix environment: error: build of `/gnu/store/n9i421lrbwrr8d0947w5vma7= rhy3iyba-python-jupyterlab-server-1=2E2=2E0=2Edrv' failed >>> ~~~~~END~~~~~ >>> >>> OK, an error, perhaps I can understand it=2E Lets look at that log fil= e: >>> >>> ~~~~START~~~~ >>> $ cp /var/log/guix/drvs/s7/jc2dbb0bnrahxklmszmpfv8klgw3sd-jupyterlab-s= erver-1=2E2=2E0=2Etar=2Egz=2Edrv=2Ebz2 =2E >>> $ bzip2 --decompress jc2dbb0bnrahxklmszmpfv8klgw3sd-jupyterlab-server-= 1=2E2=2E0=2Etar=2Egz=2Edrv=2Ebz2 >>> $ cat jc2dbb0bnrahxklmszmpfv8klgw3sd-jupyterlab-server-1=2E2=2E0=2Etar= =2Egz=2Edrv >>> >>> Starting download of /gnu/store/92md7gh966n4fzj6al267lqq4xjx0ncf-jupyt= erlab-server-1=2E2=2E0=2Etar=2Egz >>> From https://files=2Epythonhosted=2Eorg/packages/source/j/jupyterlab-s= erver/jupyterlab-server-1=2E2=2E0=2Etar=2Egz=2E=2E=2E >>> download failed "https://files=2Epythonhosted=2Eorg/packages/source/j/= jupyterlab-server/jupyterlab-server-1=2E2=2E0=2Etar=2Egz" 404 "Not Found" >>> >>> Starting download of /gnu/store/92md7gh966n4fzj6al267lqq4xjx0ncf-jupyt= erlab-server-1=2E2=2E0=2Etar=2Egz >>> From https://ci=2Eguix=2Egnu=2Eorg/file/jupyterlab-server-1=2E2=2E0=2E= tar=2Egz/sha256/132xby7531rbrjg9bqvsx86birr1blynjxy8gi5kcnb6x7fxjcal=2E=2E= =2E >>> download failed "https://ci=2Eguix=2Egnu=2Eorg/file/jupyterlab-server-= 1=2E2=2E0=2Etar=2Egz/sha256/132xby7531rbrjg9bqvsx86birr1blynjxy8gi5kcnb6x7f= xjcal" 404 "Not Found" >>> >>> Starting download of /gnu/store/92md7gh966n4fzj6al267lqq4xjx0ncf-jupyt= erlab-server-1=2E2=2E0=2Etar=2Egz >>> From https://tarballs=2Enixos=2Eorg/sha256/132xby7531rbrjg9bqvsx86birr= 1blynjxy8gi5kcnb6x7fxjcal=2E=2E=2E >>> download failed "https://tarballs=2Enixos=2Eorg/sha256/132xby7531rbrjg= 9bqvsx86birr1blynjxy8gi5kcnb6x7fxjcal" 404 "Not Found" >>> >>> Starting download of /gnu/store/92md7gh966n4fzj6al267lqq4xjx0ncf-jupyt= erlab-server-1=2E2=2E0=2Etar=2Egz >>> From https://archive=2Esoftwareheritage=2Eorg/api/1/content/sha256:543= 1d9dde96659364b7cc877693d5d21e7b80cea7ae3959ecc2b87518e5f5d8c/raw/=2E=2E=2E >>> download failed "https://archive=2Esoftwareheritage=2Eorg/api/1/conten= t/sha256:5431d9dde96659364b7cc877693d5d21e7b80cea7ae3959ecc2b87518e5f5d8c/r= aw/" 404 "Not Found" >>> failed to download "/gnu/store/92md7gh966n4fzj6al267lqq4xjx0ncf-jupyte= rlab-server-1=2E2=2E0=2Etar=2Egz" from "https://files=2Epythonhosted=2Eorg/= packages/source/j/jupyterlab-server/jupyterlab-server-1=2E2=2E0=2Etar=2Egz" >>> ~~~~~END~~~~~ >>> >>> So it seems, that the jupyterlab-server file is simply not downloadabl= e >>> any longer! >>> >>> Trying using wget: >>> >>> ~~~~START~~~~ >>> $ wget https://files=2Epythonhosted=2Eorg/packages/source/j/jupyterlab= -server/jupyterlab-server-1=2E2=2E0=2Etar=2Egz >>> --2020-10-18 13:49:52-- https://files=2Epythonhosted=2Eorg/packages/s= ource/j/jupyterlab-server/jupyterlab-server-1=2E2=2E0=2Etar=2Egz >>> Resolving files=2Epythonhosted=2Eorg (files=2Epythonhosted=2Eorg)=2E= =2E=2E 2a04:4e42:9::319, 151=2E101=2E37=2E63 >>> Connecting to files=2Epythonhosted=2Eorg (files=2Epythonhosted=2Eorg)|= 2a04:4e42:9::319|:443=2E=2E=2E failed: Connection refused=2E >>> Connecting to files=2Epythonhosted=2Eorg (files=2Epythonhosted=2Eorg)|= 151=2E101=2E37=2E63|:443=2E=2E=2E connected=2E >>> HTTP request sent, awaiting response=2E=2E=2E 404 Not Found >>> 2020-10-18 13:49:53 ERROR 404: Not Found=2E >>> ~~~~~END~~~~~ >>> >>> So now I am out of ideas=2E It seems the file is not available any lon= ger >>> and the definition of jupyterlab needs to be updated somewhere, so tha= t >>> it does not try to download an old or non-existent version of >>> jupyter-labserver=2E But how is this usually done? Can I specify it >>> somewhere in one of the 3 files I have, or am I dependent on someone >>> fixing the jupyterlab-server dependency / input for juypterlab? >>> >>> Thanks for your help so far! Tell me, if I need to provide any more >>> information to solve the problem=2E >> Try chaning the URL line to (uri (pypi-uri "jupyterlab_server" version)= ), >> with an underscore (_)=2E I don't have any special suggestions for know= ing >> that it should be an underscore instead of a dash=2E The best I have is >> the output from 'guix import pypi jupyterlab-server: >> >> (ins)efraim@E5400 ~$ guix import pypi jupyterlab-server >> >> Starting download of /tmp/guix-file=2EayJ41F >> From https://files=2Epythonhosted=2Eorg/packages/92/54/5f321ca4cebfb644= ac59eb21601b46a2ff9831ffe1b4e5a588f2a7e98d48/jupyterlab_server-1=2E2=2E0=2E= tar=2Egz=2E=2E=2E >> =E2=80=A6er-1=2E2=2E0=2Etar=2Egz 22KiB 57KiB/s 00:00 [#= #################] 100=2E0% >> >> >> >>> Best regards, >>> Zelphir >>> >>> >>> On 10/16/20 2:25 PM, Tobias Geerinckx-Rice wrote: >>>> Zelphir, >>>> >>>> Zelphir Kaltstahl =E5=86=99=E9=81=93=EF=BC=9A >>>>> $ guix import pypi 'jupyterlab@2=2E1=2E5' --recursive >>>> It will work if you substitute =E2=80=98/=E2=80=99 for =E2=80=98@=E2= =80=99=2E=C2=A0 Yes, this is a happy >>>> accident specific to the PyPI importer, and I'm sure you can guess wh= y >>>> it happens to work=2E >>>> >>>>>> guix import hackage mtl@2=2E1=2E3=2E1 >>>>> But that is in the "hackage" import section=2E Is the same not avail= able >>>>> for PyPI? >>>> [=2E=2E=2E] >>>> >>>>> Do the various importers work differently? >>>> Unfortunately so=2E=C2=A0 It would be great(TM) if PACKAGE[@VERSION] = were >>>> standard=2E=C2=A0 Each importer could handle it properly (e=2Eg=2E, b= y turning it >>>> into "/") or return a friendlier =E2=80=98the foo importer does not y= et >>>> support versions=E2=80=99 error=2E >>>> >>>> I don't have the time, but this sounds like a good intermediate-level >>>> hack for someone who does :-) >>>> >>>> Kind regards, >>>> >>>> T G-R >>> --=20 >>> repositories: https://notabug=2Eorg/ZelphirKaltstahl >>> >--=20 >repositories: https://notabug=2Eorg/ZelphirKaltstahl > --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E