mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-14 13:32:56 +00:00
Add pip2, pip3 symlinks for images with python2
Fixes #123 (c) Copyright IBM Corp. 2016
This commit is contained in:
@@ -143,8 +143,17 @@ You can return to the default environment with this command:
|
||||
source deactivate
|
||||
```
|
||||
|
||||
The commands `ipython`, `python`, `pip`, `easy_install`, and `conda` (among others) are available in both environments.
|
||||
The commands `jupyter`, `ipython`, `python`, `pip`, `easy_install`, and `conda` (among others) are available in both environments. For convenience, you can install packages into either environment regardless of what environment is currently active using commands like the following:
|
||||
|
||||
```
|
||||
# install a package into the python2 environment
|
||||
pip2 install some-package
|
||||
conda install -n python2 some-package
|
||||
|
||||
# install a package into the default (python 3.x) environment
|
||||
pip3 install some-package
|
||||
conda install -n python3 some-package
|
||||
```
|
||||
|
||||
## JupyterHub
|
||||
|
||||
|
Reference in New Issue
Block a user