From d3e85268b66be8dc4514512a1f7d48e31ba8bce4 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Sun, 7 Dec 2014 10:03:28 -0500 Subject: Mentioned virtual environments as a possible source for the different-parsers problem. --- doc/source/index.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'doc/source') 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 `. 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 `_, all three HTML -- cgit v1.2.3