Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.

Library management


We have already learned how to install new packages in PTVS using the GUI tools that it provides. Now, we will learn more about the criteria for choosing one package index over another; in other words, when to choose easy_install over pip.

Generally speaking, using pip is much better than using easy_install, and there are major reasons for this. As Ian Bicking, the creator of pip, wrote in his own introduction to pip, the advantages are as follows:

  • All packages are downloaded before installation. As a result, partially completed installation doesn't occur.

  • Care is taken when presenting useful output on the console.

  • The reasons for actions are being tracked. For instance, if a package is being installed, pip keeps track of why that package was required.

  • Error messages should be useful.

  • The code is relatively concise and cohesive, making it easier to use programmatically.

  • Packages don't have to be installed as egg archives; they can be installed flat (while keeping the egg metadata...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Python Tools for Visual Studio
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon