Я установил jupyter notebook, используя:
sudo pip3 install jupyter
Кажется, что он работает, но я получил ошибку:
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
Когда я запустил его:
jupyter notebook
Я получаю ошибку:
Error executing Jupyter command 'notebook': [Errno 8] Exec format error
Я столкнулся с подобной проблемой. Это то, что я сделал, чтобы исправить проблему (на Ubuntu 16.04):
sudo apt-get remove ipython
sudo apt-get purge ipython
sudo apt-get autoremove
pip install jupyter
ipython, казалось, была проблемой, поэтому устранение этого исправляло проблему.
Я сейчас возможность запуска jupyter notebook
Вы пытались запустить его как root?
sudo jupyter notebook --allow-root
или войти в систему как пользователь root и запустить следующую команду:
jupyter notebook --allow-root
Я столкнулся с подобной проблемой. Это то, что я сделал, чтобы исправить проблему (на Ubuntu 16.04):
sudo apt-get remove ipython
sudo apt-get purge ipython
sudo apt-get autoremove
pip install jupyter
ipython, казалось, была проблемой, поэтому устранение этого исправляло проблему.
Я сейчас возможность запуска jupyter notebook
Вы пытались запустить его как root?
sudo jupyter notebook --allow-root
или войти в систему как пользователь root и запустить следующую команду:
jupyter notebook --allow-root