Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This page describes both global and user command-line Python environments, and the Python environment available in the JupyterHub server web application. It does not address user-configured conda environments.

System and JupyterHub server Python versions

There are two versions of Python available on the command line ("system" Python) on BRCF compute servers. In Ubuntu 20.04, these versions and the command to invoke them are:

  • 2.7 - python, python2
  • 3.8 - python3, python3.8

(Note that the 3.x python version on Ubuntu 18.04 was 3.6.)

There are corresponding versions of pip that should be used to install 3rd party packages:

  • for Python 2 - pip, pip2
  • for Python 3 - pip3

Understanding Python add-on packages

Globally installed Python packages are available to any Python command-line environment of a compatible version. To see which Python packages are installed, along with their versions, use pip2 list or pip3 list. Similarly, user-installed packages can be viewed using pip2 list --user or pip3 list user.


About R and R Studio Server#RandRStudioServerversions


Unlike the R environment, where user-installed packages

Troubleshooting other JupyterHub server issues




  • No labels