Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to import get_links #5

Open
vahuja4 opened this issue May 25, 2020 · 0 comments
Open

unable to import get_links #5

vahuja4 opened this issue May 25, 2020 · 0 comments

Comments

@vahuja4
Copy link

vahuja4 commented May 25, 2020

$ scrapy list Traceback (most recent call last): File "/home/iseadmin/anaconda3/bin/scrapy", line 10, in <module> sys.exit(execute()) File "/home/iseadmin/anaconda3/lib/python3.6/site-packages/scrapy/cmdline.py", line 142, in execute cmd.crawler_process = CrawlerProcess(settings) File "/home/iseadmin/anaconda3/lib/python3.6/site-packages/scrapy/crawler.py", line 280, in __init__ super(CrawlerProcess, self).__init__(settings) File "/home/iseadmin/anaconda3/lib/python3.6/site-packages/scrapy/crawler.py", line 152, in __init__ self.spider_loader = self._get_spider_loader(settings) File "/home/iseadmin/anaconda3/lib/python3.6/site-packages/scrapy/crawler.py", line 146, in _get_spider_loader return loader_cls.from_settings(settings.frozencopy()) File "/home/iseadmin/anaconda3/lib/python3.6/site-packages/scrapy/spiderloader.py", line 60, in from_settings return cls(settings) File "/home/iseadmin/anaconda3/lib/python3.6/site-packages/scrapy/spiderloader.py", line 24, in __init__ self._load_all_spiders() File "/home/iseadmin/anaconda3/lib/python3.6/site-packages/scrapy/spiderloader.py", line 46, in _load_all_spiders for module in walk_modules(name): File "/home/iseadmin/anaconda3/lib/python3.6/site-packages/scrapy/utils/misc.py", line 77, in walk_modules submod = import_module(fullpath) File "/home/iseadmin/anaconda3/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/iseadmin/Desktop/nlp-project/Hands-on-WebScraping/project1_twitter_hashtag_crawler/TwitterHashTagCrawler/spiders/hashtag.py", line 8, in <module> from utils import get_links, get_hashtags, get_mentions ImportError: cannot import name 'get_links'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant