Não é possível executar o notebook jupyter no Ubuntu

0

Eu instalei o Jupyter Notebook usando:

sudo pip3 install jupyter

Pareceu funcionar, mas recebi o erro:

The directory '/home/user1/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/user1/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag

Quando eu executo:

jupyter notebook

Eu recebo o erro:

Error executing Jupyter command 'notebook': [Errno 8] Exec format error
    
por MCG Code 17.02.2018 / 17:41

2 respostas

1

Eu enfrentei um problema semelhante. Foi o que fiz para corrigir o problema (no Ubuntu 16.04):

sudo apt-get remove ipython
sudo apt-get purge ipython 
sudo apt-get autoremove
pip install jupyter

ipython parecia ser o problema, portanto, removê-lo corrigiu o problema.

Agora posso executar jupyter notebook

    
por akashah 17.06.2018 / 16:33
0

Você tentou executá-lo como root?

sudo jupyter notebook --allow-root

ou faça o login como root e execute o seguinte comando:

jupyter notebook --allow-root
    
por An0n 17.02.2018 / 17:52