-
Notifications
You must be signed in to change notification settings - Fork 295
Installing Jupyter
Sometimes Jupyter may be required to run a Notebook kernel. In such circumstances VS Code will attempt to locate a Python environment that has Jupyter installed in it and can start a notebook.
The first step is to verify you are running the Python environment that you have Jupyter installed into.
If you would like to change from using the saved Python interpreter to a new interpreter for launching Jupyter just use the "Python: Select interpreter to start Jupyter server" VS Code command to change it.
Run the following command from an environment that matches the Python you selected:
python -m jupyter notebook --version
If this command shows any warnings, you need to upgrade or fix the warnings to continue with this version of Python. If this command says 'no module named jupyter', you need to install Jupyter.
You can do this in a number of different ways:
Anaconda is a popular Python distribution. It makes it super easy to get Jupyter up and running.
If you're already using Anaconda, follow these steps to get Jupyter
- Start anaconda environment
- Run 'conda install jupyter'
- Restart VS Code
- Pick the conda version of Python in the python selector
Otherwise you can install Anaconda and pick the default options https://www.anaconda.com/download
You can also install Jupyter using pip.
- python -m pip install --upgrade pip
- python -m pip install jupyter -U --force-reinstall
- Restart VS Code
- Pick the Python environment you did the pip install in
For more information see http://jupyter.org/install
- Contribution
- Source Code Organization
- Coding Standards
- Profiling
- Coding Guidelines
- Component Governance
- Writing tests
- Kernels
- Intellisense
- Debugging
- IPyWidgets
- Extensibility
- Module Dependencies
- Errors thrown
- Jupyter API
- Variable fetching
- Import / Export
- React Webviews: Variable Viewer, Data Viewer, and Plot Viewer
- FAQ
- Kernel Crashes
- Jupyter issues in the Python Interactive Window or Notebook Editor
- Finding the code that is causing high CPU load in production
- How to install extensions from VSIX when using Remote VS Code
- How to connect to a jupyter server for running code in vscode.dev
- Jupyter Kernels and the Jupyter Extension