1 Replies - 333 Views - Last Post: 05 August 2013 - 02:35 PM Rate Topic: -----

#1 hanabijm  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 30-July 13

What are virtual Python environments like virtaulenv used for?

Posted 05 August 2013 - 08:25 AM

I've seen the virtualenv package pop up a lot recently while browsing some Python projects on Github. From what I can gather, it is a tool to create a command-line Python environment that has its own unique installation directories.

Would someone mind explaining what the benefit to working with virtualenv is? Why would someone want a virtual environment compared to a native one? I'm thinking this might be useful for testing new source code fast without worrying about installing countless modules/packages onto your system.

Thank you!

Is This A Good Question/Topic? 0
  • +

Replies To: What are virtual Python environments like virtaulenv used for?

#2 DblAAssassin  Icon User is offline

  • D.I.C Head

Reputation: 32
  • View blog
  • Posts: 246
  • Joined: 11-May 13

Re: What are virtual Python environments like virtaulenv used for?

Posted 05 August 2013 - 02:35 PM

Here is the Official Site for virtualenv.

A Virtual Environment, put simply, is an isolated copy of Python which allows you to work on a specific project without worry of affecting other projects.

For Example, you can work on a project which requires Django 1.3 while also working on a project which requires Django 1.0!

So, this would only be appealing if you wish to work on multiple projects, on different versions of Python/Django.

This post has been edited by DblAAssassin: 05 August 2013 - 02:36 PM

Was This Post Helpful? 2
  • +
  • -

Page 1 of 1