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.gen...@gmail.com <mailto:val.gen...@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

Reply via email to