Needed to install into a non-default location, such as prefix PREFIX Specify an install prefix for the kernelspec. profile PROFILE Specify an IPython profile to load.
Helpful when you have multiple IPython kernels. Specify the display name for the kernelspec. Have multiple IPython kernels at the same time. name NAME Specify a name for the kernelspec. user Install for the current user instead of system-wide h, -help show this help message and exit
Source - $ /path/to/python -m ipykernel install -help Sys.version_info(major=3, minor=5, micro=2, releaselevel='final', serial=0)Īlso if you already have various VENV's created with different versions of Python you switch to the desired Kernel by choosing KERNEL > CHANGE KERNEL from within the JupyterNotebook menu.Īlso to install ipykernel within an existing CONDA Virtual Environment. In my Jupyter Notebook it prints :- /home/dhankar/anaconda2/envs/p圓5/bin/pythonģ.5.2 |Continuum Analytics, Inc.| (default, Jul 2 2016, 17:53:06)
Seen below when i run same JupyterNoteBook within a CONDA Venv created with command - conda create -n p圓5 python=3.5 # Here - p圓5, is name of my VENV Sys.version_info(major=2, minor=7, micro=12, releaselevel='final', serial=0) Refer to the support article on troubleshooting Jupyter Notebooks in RStudioįor additional information on troubleshooting RStudio Workbench with Jupyter.Seen below :- output when i run JupyterNotebook outside a CONDA venv /home/dhankar/anaconda2/bin/pythonĢ.7.12 |Anaconda 4.2.0 (64-bit)| (default, Jul 2 2016, 17:42:40) Troubleshooting RStudio Workbench and Jupyter # Terminal $ ~/ venvs / my_environment / bin / pip install rsconnect_jupyter # Install `rsconnect-jupyter` as a jupyter extension $ ~/ venvs / my_environment / bin / jupyter - nbextension install - sys - prefix - py rsconnect_jupyter # Enable JavaScript extension $ ~/ venvs / my_environment / bin / jupyter - nbextension enable - sys - prefix - py rsconnect_jupyterįor more information refer to the documentation for Troubleshooting RStudio Workbench and Jupyter Publishing Jupyter Notebooks to RStudio Connect Method 2 - Register an additional Python environment only for your user Register additional Python version as a new kernel Method 1 - Install additional Python version for all users