Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in Python by (47.6k points)
edited by

What is the proper way to install pip, virtualenv, and distribute?

1 Answer

0 votes
by (106k points)
edited by

The proper way to install pip, virtualenv, and distribute for Python you need to install virtualenv into a bootstrap virtual environment. You can use the virtual environment to create more. Since virtualenv contains pip and everything, so you get everything from one install of bootstrap virtual environment.

  1. You can download the virtualenv by using the following link:

  2. After downloading the file you can unpack the source tarball.

  3. You can use the unpacked tarball to create a clean virtual environment. This virtual environment will be used to "bootstrap" others. All of your virtual environments will automatically contain pip and distribute.

  4. It is recommended using pip, install virtualenv into that bootstrap environment.

  5. After all the steps you can use that bootstrap environment to create more.

To know more about this you can have a look at the following video:-

Related questions

0 votes
1 answer
0 votes
1 answer
asked Nov 21, 2020 in Python by laddulakshana (16.4k points)
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...