$ python manage.py updatelegfiles
Traceback (most recent call last):
File "manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 443, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 69, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
import(name)
File "/home/councilmatic/chi-fork/councilmatic/councilmatic/phillyleg/management/commands/updatelegfiles.py", line 18, in
from phillyleg.management.scraper_wrappers import CouncilmaticDataStoreWrapper
File "/home/councilmatic/chi-fork/councilmatic/councilmatic/phillyleg/management/scraper_wrappers/init.py", line 1, in
from sources.insite_scraper import PhillyLegistarSiteWrapper
File "/home/councilmatic/chi-fork/councilmatic/councilmatic/phillyleg/management/scraper_wrappers/sources/insite_scraper.py", line 7, in
from bs4 import BeautifulSoup
ImportError: No module named bs4
updatelegfiles depends on BeatifulSoup4:
$ python manage.py updatelegfiles Traceback (most recent call last): File "manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 443, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 69, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
import(name)
File "/home/councilmatic/chi-fork/councilmatic/councilmatic/phillyleg/management/commands/updatelegfiles.py", line 18, in
from phillyleg.management.scraper_wrappers import CouncilmaticDataStoreWrapper
File "/home/councilmatic/chi-fork/councilmatic/councilmatic/phillyleg/management/scraper_wrappers/init.py", line 1, in
from sources.insite_scraper import PhillyLegistarSiteWrapper
File "/home/councilmatic/chi-fork/councilmatic/councilmatic/phillyleg/management/scraper_wrappers/sources/insite_scraper.py", line 7, in
from bs4 import BeautifulSoup
ImportError: No module named bs4