简体   繁体   中英

Jupyter Python3 Kernel Install - Offline Only

Currently, I am working in a VM that does not have an internet connection.

I have Python2 installed installed on this machine and have been using it fine within Jupyter. I have installed Anaconda 3.6 and would like to create a kernel inside Jupyter for Python3 in addition to the Python2 Kernel that is present.

I have followed another stackexchange question: How do I add python3 kernel to jupyter (IPython)

and some documentation: https://ipython.readthedocs.io/en/latest/install/kernel_install.html#kernels-for-python-2-and-3

The command that is doing something, just not the right something is:

/path/to/kernel/env/bin/python -m ipykernel install

No matter where I point it, it installs another kernel, but with Python 2.7...

Any suggestions?

对于我的情况,正确的答案是指定python3 jupyter-notebook路径,而不是仅使用默认的jupyter笔记本。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM