Forums

Cannot create new scrapy project

Hi,

I'm trying to create a scrapy project from the scrapy tutorial (https://doc.scrapy.org/en/latest/intro/tutorial.html), but when I enter the command: scrapy startproject tutorial

I get the following error:

10:37 ~/scrapy_test$ scrapy startproject tutoria 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 131, in execute _run_print_help(parser, _run_command, cmd, args, opts) File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line 76, in _run_print_help func(a, *kw) File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line 138, in _run_command cmd.run(args, opts) File "/usr/local/lib/python2.7/dist-packages/scrapy/commands/startproject.py", line 48, in run shutil.copy(join(TEMPLATES_PATH, 'scrapy.cfg'), project_name) File "/usr/lib/python2.7/shutil.py", line 119, in copy copyfile(src, dst) File "/usr/lib/python2.7/shutil.py", line 82, in copyfile with open(src, 'rb') as fsrc: IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/scrapy/templates/project/scrapy.cfg'

Thanks, Robert

That's strange. It works fine when I try it. It may be because your account is still on classic and not dangermouse.