Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Regrettably, there's no method to the madness. The name in the <a href="http://pypi.python.org/pypi" rel="nofollow noreferrer">package index</a> is independent of the module name you <code>import</code>. Disastrously <a href="https://stackoverflow.com/questions/5937739/python-module-name-conflict">some packages share module names</a>. If you install both, your application will break with even odds. (<a href="https://stackoverflow.com/questions/3113094/error-when-using-gchart-googlecharts-gem-nameerror-uninitialized-constant-g">Ruby has this problem too</a>)</p> <hr> <p>Packaging in Python is generally dire. The root cause is that the language ships without a package manager. Ruby and Nodejs ship with full-featured package managers Gem and Npm, and have nurtured sharing communities centred around GitHub. Npm makes <a href="https://npmjs.org/doc/developers.html" rel="nofollow noreferrer">publishing packages</a> as easy as installing them. Nodejs arrived 2009 and already has <a href="https://npmjs.org/" rel="nofollow noreferrer">14k packages</a>. The venerable Python package index lists 24k. Ruby Gems lists 44k packages.</p> <p>Fortunately, there is one decent package manager for Python, called <a href="http://www.pip-installer.org/en/latest/index.html" rel="nofollow noreferrer">Pip</a>. Pip is inspired by Ruby's Gem, but lacks some vital features (eg. listing packages, and <a href="https://github.com/pypa/pip/issues/59" rel="nofollow noreferrer">upgrading en mass</a>). Ironically, Pip itself is <a href="https://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows">complicated to install</a>. Installation on the popular 64-bit Windows demands building and installing two packages from source. This is a big ask for anyone new to programming. </p> <p>Python's devs are ignorant of all this frustration because they are seasoned programmers comfortable building from source, and they use Linux distributions with packaged Python modules.</p> <p>Until Python ships with a package manager, thousands of developers will needlessly waste time reinventing the wheel.</p> <hr> <p>Python 3 solves many problems with packaging. There <a href="http://python3wos.appspot.com/" rel="nofollow noreferrer">aren't any packages for Python 3</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload