To install virtualenvwrapper run: $ pip install virtualenvwrapper Depending on your setup you might need to install it using sudo. Read the installation documentation for more information. Note: virtualenvwrapper keeps all the virtual environments in /.virtualenv while virtualenv keeps them in the project directory. Steps to install Python 3.x and Django 1.9 on Mac OS X El Capitan (10.11.2) - and use virtualenv and virtualenvwrapper - for a development environment set up locally with the intention of subsequent deployment to Heroku or Digital Ocean or Google App Engine. Finishing with adding PostgreSQL later.
![]() ![]()
Virtualenv is a python tool for developers to create isolated development environments. In these isolated development environments i.e virtualenvs, developers can install packages which won’t affect other virtualenvs or with the other python packages. It solves your problem of dealing with package’s dependencies and at the same time maintains different versions that suits your project requirement.
Consider a scenario where you are working on project with Django 1.4 and then you have other project with Django 1.9. Its better to use virtualenv, where you can create two different development environments and install Python 2.7 in one and Python 3.0 in another. This way all your packages with different versions won’t get jumbled up and will make your life easier.
Setup Virtualenv on Mac
(No Ratings Yet)
Loading...
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |