$ ./manage.py search
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/Users/srutner/skyscraper/lib/python2.7/site-packages/django/core/management/__init__.py", line 453, in execute_from_command_line
utility.execute()
File "/Users/srutner/skyscraper/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/srutner/skyscraper/lib/python2.7/site-packages/django/core/management/__init__.py", line 272, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/Users/srutner/skyscraper/lib/python2.7/site-packages/django/core/management/__init__.py", line 77, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/Users/srutner/skyscraper/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/Users/srutner/skyscraper/skyscanner_scraper/management/commands/search.py", line 16, in <module>
from skyscanner_scraper.client import SkyscannerClient
File "/Users/srutner/skyscraper/skyscanner_scraper/client.py", line 13, in <module>
from bs4 import BeautifulSoup
File "/Users/srutner/skyscraper/lib/python2.7/site-packages/bs4/__init__.py", line 29, in <module>
from .builder import builder_registry
File "/Users/srutner/skyscraper/lib/python2.7/site-packages/bs4/builder/__init__.py", line 306, in <module>
from . import _html5lib
File "/Users/srutner/skyscraper/lib/python2.7/site-packages/bs4/builder/_html5lib.py", line 57, in <module>
class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: 'module' object has no attribute '_base'
Hey there,
I followed your instructions exactly, but when I try to run
./manage.py search --helpor any
./manage.py searchI run into
Any idea why this is occurring?