运行我的项目时,我遇到了错误。我尝试了所有关于stackoverflow的建议,但没有任何方法可以解决问题。
随时询问更多信息。期待任何帮助。
(venv) [kalpesh@localhost scraper]$ scrapy crawl mrdeepfakes -a output=db
Traceback (most recent call last):
File "/home/kalpesh/venv/bin/scrapy", line 8, in <module>
sys.exit(execute())
File "/home/kalpesh/venv/lib/python3.6/site-packages/scrapy/cmdline.py", line 113, in execute
settings = get_project_settings()
File "/home/kalpesh/venv/lib/python3.6/site-packages/scrapy/utils/project.py", line 69, in get_project_settings
settings.setmodule(settings_module_path, priority='project')
File "/home/kalpesh/venv/lib/python3.6/site-packages/scrapy/settings/__init__.py", line 287, in setmodule
module = import_module(module)
File "/home/kalpesh/venv/lib64/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 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'scraper.settings'