summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2014-12-07 10:03:28 -0500
committerLeonard Richardson <leonardr@segfault.org>2014-12-07 10:03:28 -0500
commit13bad02cc93d14918c691bc6467d4289fb5ff49a (patch)
treef35ffccf9f21d5ae77d9c1eb985cf7c0fc9213c1 /doc
parentafa5e0942e848ad66ca2b8622b9cbaefebbafbd7 (diff)
downloadbeautifulsoup4-13bad02cc93d14918c691bc6467d4289fb5ff49a.tar.gz
Mentioned virtual environments as a possible source for the different-parsers problem.
Diffstat (limited to 'doc')
-rw-r--r--doc/source/index.rst16
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/source/index.rst b/doc/source/index.rst
index 0d91c1c..775c3e1 100644
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -2762,13 +2762,15 @@ You'll need to :ref:`have lxml installed <parser-installation>`.
Other parser problems
---------------------
-* If your script works on one computer but not another, it's probably
- because the two computers have different parser libraries
- available. For example, you may have developed the script on a
- computer that has lxml installed, and then tried to run it on a
- computer that only has html5lib installed. See `Differences between
- parsers`_ for why this matters, and fix the problem by mentioning a
- specific parser library in the ``BeautifulSoup`` constructor.
+* If your script works on one computer but not another, or in one
+ virtual environment but not another, or outside the virtual
+ environment but not inside, it's probably because the two
+ environments have different parser libraries available. For example,
+ you may have developed the script on a computer that has lxml
+ installed, and then tried to run it on a computer that only has
+ html5lib installed. See `Differences between parsers`_ for why this
+ matters, and fix the problem by mentioning a specific parser library
+ in the ``BeautifulSoup`` constructor.
* Because `HTML tags and attributes are case-insensitive
<http://www.w3.org/TR/html5/syntax.html#syntax>`_, all three HTML