Skip to content

Instantly share code, notes, and snippets.

@weiji14
Last active September 10, 2018 22:19
Show Gist options
  • Save weiji14/eb2394ea40897f02d0b341608e552b4c to your computer and use it in GitHub Desktop.
Save weiji14/eb2394ea40897f02d0b341608e552b4c to your computer and use it in GitHub Desktop.
Temp gist for finding out how to conda activate in binder
name: deepbedmap
channels:
- conda-forge
- nodefaults
dependencies:
- python=3.6.6
#!/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