Which python installation should I use?
Asked Answered
D

7

7

I'm about to refresh myself in programming and I have decided on Python 2.6 for that. I have searched the net and it gave me two possible installers for download. One is from the Python site and another is from Activestate. Which one should I install on my Windows computer?

Dalury answered 24/1, 2010 at 4:53 Comment(2)
Why not use Python 2.7??Vacla
Perhaps because 2.7 was released over six months after this question was asked and 'from future import' isn't that sophisticatedTomlin
E
6

ActiveState gives you paid support. While this may be very important / critical to some companies, most do just fine with python.org version, particularly those who experiment.

There are other crazy ones like Stackless Python, Google's implementation in C++, Cython, etc. I would say that those are not that important to you unless speed / efficient multithreading is a must.

Use the regular one. CPython may be an order of magnitude slower than C, but it works just fine AND it is the most popular Python implementation out there, so you know it is well-tested for a free version.

Earlearla answered 24/1, 2010 at 4:59 Comment(1)
ActivePython is just a nice distribution, overall, as are ActivePerl & ActiveTcl.Zambrano
M
5

I suggest you to download from python site

Manolete answered 24/1, 2010 at 4:59 Comment(0)
G
5

ActivePython is essentially the same as python.org's distro - except you also get the following:

  • PyPM: a binary package manager from ActiveState, so you can install extra modules without having to compile them yourself. (See available modules)
  • Additional packages: virtualenv, setuptools/easy_install, pip
  • PyWin32 - Accessing Windows API from Python
  • Extra documentation/tutorials (CHM on Windows) such as Dive Into Python, FAQs, PEPs, etc..
  • PythonWin IDE (although Komodo Edit may suit some better)

If you are a business owner, then ActiveState can also provide commercial support.

Gobbledygook answered 24/1, 2010 at 7:12 Comment(0)
M
1

If all you want is refresh your programming skill, then installing the version from the official site should be more than enough

Mukluk answered 24/1, 2010 at 5:51 Comment(0)
D
1

Download Python 2.6 from the python.org and read its tutorial as a start.

Drops answered 24/1, 2010 at 5:54 Comment(0)
B
1

Since you're running Windows you may want to also install (after Python 2.6) Pywin32 - Python Extensions for Windows: . It also has a very nice IDE (PythonWin) which you may prefer to IDLE. A version of Pywin32 is also available for Python 3.x.

Bobwhite answered 24/1, 2010 at 7:14 Comment(0)
S
0

I also do recommend ACTIVESTATE - with the standard python.org package you will have lots of trouble when you want to install packages!

BUT be prepared to be bitten from time to time by ActiveState:

D:\>pypm search lxml
*** Packages marked [BE] below require a valid
*** Business Edition license to install. Please visit
*** http://www.activestate.com/business-edition for more details.

 domstripper lxml.html based DOM manipulator
 flea        Test WSGI applications using lxml
 gocept.lxml Primarily proivdes zope3 interface definitions for lxml
 lwebstring  lxml-based implementation of webstring, an XML template engine
 [BE] lxml   Powerful and Pythonic XML processing library combining libxml2/libxsl
 [BE] lxml-wrapper          lxml wrapper that simplifies xml generation code.
 [BE] lxmlmiddleware        stack of middleware to deal with a response as a LXML etree
 [BE] lxmlproc              lxml version of xsltproc
 plone.recipe.lxml     Buildout recipe that creates a lxml egg
 repoze.xmliter    Wrapper for ``lxml`` trees which serializes to string upon iteration.
 z3c.recipe.staticlxml A recipe to build lxml

they do not provide lxml for free with their package manager, you need a business license.

Speak answered 16/7, 2010 at 11:59 Comment(1)
Could you modify your answer as lxml is now free to install via PyPM? code.activestate.com/pypm/lxmlGobbledygook

© 2022 - 2024 — McMap. All rights reserved.