python: what's the difference between pythonbrew and virtualenv?

前端 未结 5 1510
误落风尘
误落风尘 2021-01-31 15:40

I am new to python and I am planning to learn django. I had a bit of experience with ruby (not rails) and I am familiar with RVM however I don\'t understand the

5条回答
  •  情深已故
    2021-01-31 16:00

    "pythonbrew is a program to automate the building and installation 
     of Python in the users $HOME."
    

    By contrast, virtualenv provides an isolated environment for developing a project - it keeps all of the libraries for that project in one place, and it makes it much easier to relocate (and so deploy) the project.

提交回复
热议问题