diff --git a/scrapy/commands/version.py b/scrapy/commands/version.py index 207ecf925..27e12046a 100644 --- a/scrapy/commands/version.py +++ b/scrapy/commands/version.py @@ -22,7 +22,7 @@ class Command(ScrapyCommand): def run(self, args, opts): if opts.verbose: try: - import lxml.etree2 + import lxml.etree except ImportError: lxml_version = libxml2_version = "(lxml not available)" else: