Jupyter notebook simultaneous use of Python2 and Python3
If the default use of Python3 can be used to activate the PY27 virtual environment, Python27 Python.exe renamed to Python2.exe, environment variables are added, enter the command:
python2-m ipykernel Install--user
Start Jupyter notebook To see, then you can see, Python2 's kernel has been installed.
Quick Start Jupyter notebook a little trick
When starting Jupyter notebook, each time you want to switch the file path, you need to enter the relevant command, relatively troublesome. There is a small skill that can be started quickly, which I am used to personally.
Under the path of the folder you want to open, create a file with the suffix ". bat" (for example, named Ipy.bat), open the file with Notepad, enter the following and save it.
REM--Start_ipython_notebook_here.bat---dirjupyter notebookpause
You can quickly start the Jupyter notebook by double-clicking the Ipy.bat file later. I usually send this Ipy.bat file with a shortcut to the desktop (pure lazy Practice ~ ~).
Jupyter notebook simultaneous use of Python2 and Python3