sudo apt-get install python3-notebook jupyter-core python-ipykernel
sudo apt-get install python3-dev
sudo apt-get install python-dev
sudo -H python3 -m pip --default-timeout=1000 install --index-url https://mirrors.aliyun.com/pypi/simple tensorflow-gpu --ignore-installed six
jupyter notebook --generate-config
注意倒数第二行加上-H
参考:
https://askubuntu.com/questions/1069380/ubuntu-18-04-jupyter-notebook-error-executing-jupyter-command-notebook-e
jupyter notebook - Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
最新推荐文章于 2022-01-08 15:07:09 发布