mirror of https://github.com/scrapy/scrapy.git
Updated documentation to point out that simplejson is now required if using Python 2.5, and to recommended switching to Python 2.6
This commit is contained in:
parent
7c712eeda1
commit
5a5364d0c1
16
docs/faq.rst
16
docs/faq.rst
|
|
@ -24,11 +24,25 @@ comparing `jinja2`_ to `Django`_.
|
|||
.. _jinja2: http://jinja.pocoo.org/2/
|
||||
.. _Django: http://www.djangoproject.com
|
||||
|
||||
.. _faq-python-versions:
|
||||
|
||||
What Python versions does Scrapy support?
|
||||
-----------------------------------------
|
||||
|
||||
Scrapy runs in Python 2.5, 2.6 and 2.6. But it's recommended you use Python 2.6
|
||||
or above, since the Python 2.5 standard library has a few bugs in their URL
|
||||
handling libraries. Some of these Python 2.5 bugs not only affect Scrapy but
|
||||
any user code, such as spiders. You can see a list of `Python 2.5 bugs that
|
||||
affect Scrapy`_ in the issue tracker.
|
||||
|
||||
.. _Python 2.5 bugs that affect Scrapy: http://dev.scrapy.org/query?status=accepted&status=assigned&status=new&status=reopened&order=priority&keywords=~py25-bug
|
||||
|
||||
Does Scrapy work with Python 3.0?
|
||||
---------------------------------
|
||||
|
||||
No, and there are no plans to port Scrapy to Python 3.0 yet. At the moment,
|
||||
Scrapy works with Python 2.5, 2.6 and 2.7.
|
||||
Scrapy works with Python 2.5, 2.6 and 2.7. See also:
|
||||
:ref:`faq-python-versions`.
|
||||
|
||||
Did Scrapy "steal" X from Django?
|
||||
---------------------------------
|
||||
|
|
|
|||
|
|
@ -27,17 +27,19 @@ Requirements
|
|||
|
||||
* `libxml2`_ (versions prior to 2.6.28 are known to have problems parsing certain malformed HTML, and have also been reported to contain leaks, so 2.6.28 or above is highly recommended)
|
||||
|
||||
* `simplejson`_ (not required if using Python 2.6 or above)
|
||||
|
||||
.. _Python: http://www.python.org
|
||||
.. _Twisted: http://twistedmatrix.com
|
||||
.. _libxml2: http://xmlsoft.org
|
||||
.. _pywin32: http://sourceforge.net/projects/pywin32/
|
||||
.. _simplejson: http://pypi.python.org/pypi/simplejson/
|
||||
.. _Zope.Interface: http://pypi.python.org/pypi/zope.interface#download
|
||||
.. _this Twisted bug: http://twistedmatrix.com/trac/ticket/3707
|
||||
|
||||
Optional:
|
||||
|
||||
* `pyopenssl <http://pyopenssl.sourceforge.net>`_ (for HTTPS support, highly recommended)
|
||||
* `simplejson <http://undefined.org/python/#simplejson>`_ (for (de)serializing JSON)
|
||||
|
||||
.. _intro-install-step1:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue