* Re: [gentoo-user] jupyter notebook 500 : Internal Server Error
2020-06-25 20:13 [gentoo-user] jupyter notebook 500 : Internal Server Error Valmor de Almeida
@ 2020-06-25 19:44 ` Andrés Becerra Sandoval
2020-06-25 20:30 ` Urs Schütz
2020-06-25 20:32 ` Amlesh Sivanantham
2020-06-26 15:08 ` Andreas K. Huettel
1 sibling, 2 replies; 6+ messages in thread
From: Andrés Becerra Sandoval @ 2020-06-25 19:44 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1032 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] jupyter notebook 500 : Internal Server Error
@ 2020-06-25 20:13 Valmor de Almeida
2020-06-25 19:44 ` Andrés Becerra Sandoval
2020-06-26 15:08 ` Andreas K. Huettel
0 siblings, 2 replies; 6+ messages in thread
From: Valmor de Almeida @ 2020-06-25 20:13 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] jupyter notebook 500 : Internal Server Error
2020-06-25 19:44 ` Andrés Becerra Sandoval
@ 2020-06-25 20:30 ` Urs Schütz
2020-06-25 20:32 ` Amlesh Sivanantham
1 sibling, 0 replies; 6+ messages in thread
From: Urs Schütz @ 2020-06-25 20:30 UTC (permalink / raw
To: gentoo-user
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 <mailto: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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] jupyter notebook 500 : Internal Server Error
2020-06-25 19:44 ` Andrés Becerra Sandoval
2020-06-25 20:30 ` Urs Schütz
@ 2020-06-25 20:32 ` Amlesh Sivanantham
1 sibling, 0 replies; 6+ messages in thread
From: Amlesh Sivanantham @ 2020-06-25 20:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 704 bytes --]
Do you have this issue when you run jupyter from a virtual environment?
On Thu, Jun 25, 2020 at 12:45 PM Andrés Becerra Sandoval <
andres.becerra@gmail.com> 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
>
>
[-- Attachment #2: Type: text/html, Size: 1474 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] jupyter notebook 500 : Internal Server Error
2020-06-25 20:13 [gentoo-user] jupyter notebook 500 : Internal Server Error Valmor de Almeida
2020-06-25 19:44 ` Andrés Becerra Sandoval
@ 2020-06-26 15:08 ` Andreas K. Huettel
2020-06-28 6:33 ` [SOLVED] " Valmor F. de Almeida
1 sibling, 1 reply; 6+ messages in thread
From: Andreas K. Huettel @ 2020-06-26 15:08 UTC (permalink / raw
To: gentoo-user; +Cc: Valmor de Almeida
[-- Attachment #1: Type: text/plain, Size: 885 bytes --]
Am Donnerstag, 25. Juni 2020, 22:13:46 CEST schrieb Valmor de Almeida:
> 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.
Try updating dev-python/nbconvert to a version newer than the stable one.
You probably did this the same way as me, keywording only what was really
necessary on an otherwise stable system. Problem is, notebooks have an
internal versioning, and nbconvert-5.2 doesn't support recent versions
anymore. After updating nbconvert things worked fine for me.
(Time to fix this, I know, but there's only so many hours in the day...)
--
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 981 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [SOLVED] Re: [gentoo-user] jupyter notebook 500 : Internal Server Error
2020-06-26 15:08 ` Andreas K. Huettel
@ 2020-06-28 6:33 ` Valmor F. de Almeida
0 siblings, 0 replies; 6+ messages in thread
From: Valmor F. de Almeida @ 2020-06-28 6:33 UTC (permalink / raw
To: Andreas K. Huettel, gentoo-user
On 6/26/20 10:08 AM, Andreas K. Huettel wrote:
> Am Donnerstag, 25. Juni 2020, 22:13:46 CEST schrieb Valmor de Almeida:
>> 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.
> Try updating dev-python/nbconvert to a version newer than the stable one.
>
> You probably did this the same way as me, keywording only what was really
> necessary on an otherwise stable system. Problem is, notebooks have an
> internal versioning, and nbconvert-5.2 doesn't support recent versions
> anymore. After updating nbconvert things worked fine for me.
>
> (Time to fix this, I know, but there's only so many hours in the day...)
>
Thank you. It worked!
--
Vamor
Here is some info for reference:
* dev-python/jupyter
Latest version available: 1.0.0-r2
Latest version installed: 1.0.0-r2
Size of files: 15 KiB
Homepage: https://jupyter.org
Description: Jupyter metapackage. Install all the Jupyter
components in one go
License: BSD
* dev-python/jupyter_client
Latest version available: 5.2.3-r1
Latest version installed: 5.2.3-r1
Size of files: 266 KiB
Homepage: https://jupyter.org
Description: Jupyter protocol implementation and client libraries
License: BSD
* dev-python/jupyter_console
Latest version available: 6.1.0
Latest version installed: 6.1.0
Size of files: 28 KiB
Homepage: https://jupyter.org
Description: A terminal-based console frontend for Jupyter kernels
License: BSD
* dev-python/jupyter_core
Latest version available: 4.6.1-r1
Latest version installed: 4.6.1-r1
Size of files: 66 KiB
Homepage: https://jupyter.org
Description: Core common functionality of Jupyter projects
License: BSD
* dev-python/nbconvert
Latest version available: 5.6.1
Latest version installed: 5.5.0
Size of files: 687 KiB
Homepage: https://nbconvert.readthedocs.io/
Description: Converting Jupyter Notebooks
License: BSD
/etc/portage/package.accept_keywords/jupyter
dev-python/jupyter ~amd64
dev-python/jupyter_console ~amd64
dev-python/nbconvert ~amd64
/etc/portage/package.use/jupyter
net-libs/zeromq drafts
dev-python/PyQt5 gui svg widgets
x11-libs/libxkbcommon X
dev-libs/libpcre pcre16
dev-libs/libpcre2 pcre16
emerge jupyter
emerge =nbconvert-5.5.0
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-06-28 5:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-25 20:13 [gentoo-user] jupyter notebook 500 : Internal Server Error Valmor de Almeida
2020-06-25 19:44 ` Andrés Becerra Sandoval
2020-06-25 20:30 ` Urs Schütz
2020-06-25 20:32 ` Amlesh Sivanantham
2020-06-26 15:08 ` Andreas K. Huettel
2020-06-28 6:33 ` [SOLVED] " Valmor F. de Almeida
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox