This was resolved by running
python /usr/local/bin/scrapy startproject amz On Monday, July 21, 2014 2:15:32 PM UTC-4, [email protected] wrote: > > I am hitting the same issue with a different name > > root@crawl:/usr/local/lib/python2.7/dist-packages/scrapy/templates/project# > scrapy startproject amazn > Traceback (most recent call last): > File "/usr/local/bin/scrapy", line 4, in <module> > execute() > File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line > 109, in execute > settings = get_project_settings() > File "/usr/local/lib/python2.7/dist-packages/scrapy/utils/project.py", > line 60, in get_project_settings > settings.setmodule(settings_module_path, priority='project') > File > "/usr/local/lib/python2.7/dist-packages/scrapy/settings/__init__.py", line > 109, in setmodule > module = import_module(module) > File "/usr/lib/python2.7/importlib/__init__.py", line 37, in > import_module > __import__(name) > ImportError: No module named ${project_name}.settings > > > > On Monday, July 21, 2014 11:26:29 AM UTC-4, Mikhail Korobov wrote: >> >> Hi, >> >> It looks like a common gotcha - there is "test" module in standard >> library, and this makes startproject fail. Try using another name. >> See also: https://github.com/scrapy/scrapy/issues/428 >> >> понедельник, 21 июля 2014 г., 21:03:19 UTC+6 пользователь >> [email protected] написал: >>> >>> I am new to scrapy. >>> >>> I am installed scrapy 2.4.2 on debian wheezy using pip. Seemingly, >>> worked fine. when I run "scrapy startproject test" from >>> /usr/local/lib/python2.7/dist-packages/scrapy/templates/project directory, >>> I get ImportError: No module named ${project_name}.settings. I am not sure >>> as what the issue is and how I could correct it. >>> >>> Thanks in advance >>> >> -- You received this message because you are subscribed to the Google Groups "scrapy-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/scrapy-users. For more options, visit https://groups.google.com/d/optout.
