Skip to content

Instantly share code, notes, and snippets.

@ysuito
Last active June 14, 2018 07:49
Show Gist options
  • Save ysuito/5e51e0b2fe161d45374c0674b95fa86f to your computer and use it in GitHub Desktop.
Save ysuito/5e51e0b2fe161d45374c0674b95fa86f to your computer and use it in GitHub Desktop.
pipenv usage

INSTALL

sudo pacman -S python-pip
pip install --user pipenv
-- echo "set PATH ~/.local/bin $PATH" >> ~/.config/fish/config.fish --
echo "set PATH ~/.local/bin $PATH" >> ~/.config/fish/conf.d/000-env.fish
-- fisher pipenv --

USAGE

cd project_folder
pipenv install --python 3.6
pipenv lock
pipenv install requests
pipenv shell --fancy
python main.py

DEACTIVATE SHELL

exit

START JUPYTER NOTEBOOK

pipenv run jupyter notebook &

PIP INSTALLED LIB LIST

pipenv run pip freeze

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment