Setting up python environment in macOS using Homebrew, Pyenv, and Pipenv

<p>We often have a problem when working on different projects in the local system</p> <ol> <li>we might need different python versions for different projects (less common) or</li> <li>we might need python packages compatible with particular versions (more likely).</li> <li>Virtual environments for different projects for easy deployments</li> </ol> <p>After stumbling with this problem, I found a perfect solution using two awesome libraries &mdash; Pyenv and Pipenv.</p> <p>Pyenv is to manage Python versions, and Pipenv is to create virtual environments required for each project and manage python packages and their dependencies for each project.</p> <p>This is a great way of working on different projects locally without any hassles.</p> <p>We will use Homebrew to install Pyenv and Pipenv. If you already have Homebrew, skip the next step.</p> <p><a href="https://medium.com/geekculture/setting-up-python-environment-in-macos-using-pyenv-and-pipenv-116293da8e72"><strong>Website</strong></a></p>
Tags: Pyenv Pipenv