From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F8FC1382C5 for ; Thu, 25 Jun 2020 20:31:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD009E0857; Thu, 25 Jun 2020 20:30:56 +0000 (UTC) Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51FAFE03EC for ; Thu, 25 Jun 2020 20:30:56 +0000 (UTC) Received: by mail-ej1-x62f.google.com with SMTP id w16so7258678ejj.5 for ; Thu, 25 Jun 2020 13:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:organization:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=nOYnf6VUxNltXu9c3dJVL+P3bNbyWb3ZN3lagWu/S3c=; b=g3ElON3Y9ebyOkOp37Pkc22aaDLygwzRYW6EEsC/FCefIElvr/V41Lltk2ZY1h8H3l +CeJTzNlSZGnD3msILG6+1zX9Q81/QrDrgznmSo2Pr0tM+T68eTInYjLpgjrGFpPRsIY eiMoEdxxA1w0Nll6B0zzoOnmlJ81I0e/CmmsBUSR9ROr60OkMmhEIgVFzSL66Kr/t2O3 zsKH2IzPQafheznRIdHgtnWcnFdhtWkci1azxL+C+w9hZ/WSMvcw4HtT1/4M/GF9OqRS Q+iaXctUkMGuBewZ/MquITZoXdfDMWL/bp6otcow04VUpqNr+bkUr0cPXn7YfvQRh626 7M4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=nOYnf6VUxNltXu9c3dJVL+P3bNbyWb3ZN3lagWu/S3c=; b=CHxSoOCJVrg0DmEWetqhm+Pylmd/jbYP/pWZiHUuGlHiX3g33kHAYdAhOtbJ+rkKeb btzVJCaPpSOStCtMDajL/5l4dfXZEVv/94iAH/d4i1DbIuASum6q2unA/SbX7AIOGxxP 6mb7il59tvzYEgStE+kQpWHrF/dJcVMzjvZZkSOJTcoaQi3mr/MA6kiM0VX+Mdta6TJu KX/tZXnT4LdbQyroJMEMerxauK0FmcCh7S7vCu3UNwLHHj9aP4M7MzaX8TABsOmt0171 rkdxbeJxqdtbojSirrATgFe8GcMSWGjmmKwChfcOGuyz5vyrko54ss/5be/xrxSQq46z Q/bA== X-Gm-Message-State: AOAM531WIbgkwpQD4S98vzqxU+NmXw+dIeP18aiQya37+v5L+H2mSY3Z /F/ewnrri+9NJB5IDbpTsfqQFM0Y X-Google-Smtp-Source: ABdhPJxM8yQYi1F4NsLamO1l1/nUuCntrTSI7bpn2ACtbsaXYcIYz25GvlOa1GcauNadS6CC5NuwoQ== X-Received: by 2002:a17:906:f185:: with SMTP id gs5mr30166937ejb.223.1593117054777; Thu, 25 Jun 2020 13:30:54 -0700 (PDT) Received: from [192.168.43.72] (9.229.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch. [178.197.229.9]) by smtp.googlemail.com with ESMTPSA id by20sm3966432ejc.119.2020.06.25.13.30.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jun 2020 13:30:53 -0700 (PDT) Sender: =?UTF-8?Q?Urs_Sch=C3=BCtz?= Subject: Re: [gentoo-user] jupyter notebook 500 : Internal Server Error To: gentoo-user@lists.gentoo.org References: From: =?UTF-8?Q?Urs_Sch=c3=bctz?= Organization: bluewin.ch Message-ID: Date: Thu, 25 Jun 2020 22:30:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Archives-Salt: d5bae24d-662d-4a36-9709-4ec9ce6a962e X-Archives-Hash: dae726eceb9c002277b4387c4e45fda3 On 2020-06-25 21:44, Andrés Becerra Sandoval wrote: > > > El jue., 25 de jun. de 2020 a la(s) 14:14, Valmor de Almeida > (val.gentoo@gmail.com ) escribió: > > Hello, > I had to enable ~amd64 to emerge jupyter so I know this is bound for > problems. However, anyone there able to use jupyter notebooks in > gentoo? > No matter what notebook I try to open, I get the internal server error. > Thank you. > -- > Valmor > > > Not much help, but I have not had problems with jupyter for years, with > ~amd64 profile. > > -- >   Andrés Becerra Sandoval > I isolate jupyter (actually jupyterlab) in an separate python environment. I do use pipenv to manage the python environment. It boils down to three commands: $> cd projectfolder projectfolder $> pipenv install projectfolder $> pipenv shell projectfolder $> pipenv install jupyter-lab pipenv itself can be installed with emerge. pipenv resolves the dependencies within the virtual python environment. This way of working with python solved most of my troubles with ~amd64 python packages. python packages for system and for programming purposes stay separate this way. -- Urs Schütz