Skip to content

How to use Pipenv with text editor IDE's like Atom or Visual Studio Code

Tyler Bruno edited this page Oct 5, 2018 · 5 revisions

In this example, we will be using Visual Studio Code.

Installing Pipenv:

  1. Open you computers CLI
  2. Enter pip install pipenv

Cloning a repo that has a pipenv (pipfile):

  1. Go to the directory where you would like to clone the repo.

https://gyazo.com/a9f6021dfbc915b687c9ab15c96130ca

  1. Run "git clone 'project'" https://gyazo.com/7770b1d1ab124a9534df8be454023a56

  2. Run "pipenv install" (This will look into the pipfile and install all the dependencies and library's). NOTE: This creates the virtual environment on your local computer. https://gyazo.com/97f691090d29a45cb60c27cf38614434

  3. Run "pipenv shell" to launch the virtual environment. Launching the environment will point all the library's to the virtual environment. If you do not launch the venv then you will get missing import errors. NOTE: you must always launch the environment when you restart your computer. https://gyazo.com/f5ae6907dbbf114a985b0fd7fa493d00

Clone this wiki locally