Last active
September 10, 2018 22:19
-
-
Save weiji14/eb2394ea40897f02d0b341608e552b4c to your computer and use it in GitHub Desktop.
Temp gist for finding out how to conda activate in binder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deepbedmap | |
channels: | |
- conda-forge | |
- nodefaults | |
dependencies: | |
- python=3.6.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source activate root | |
pip install pipenv==2018.7.1 | |
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib | |
pipenv install --python $CONDA_PREFIX/bin/python | |
pipenv shell | |
echo $VIRTUAL_ENV | |
python -m ipykernel install --user --name=`basename $VIRTUAL_ENV` | |
jupyter kernelspec list --json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://mybinder.org/v2/gist/weiji14/eb2394ea40897f02d0b341608e552b4c/master