我正在使用 git bash 在 win 10 中工作,我想从 cookiecutter 模板创建一个爬虫。我正在查看https://cookiecutter.readthedocs.io/en/latest/overview.html和https://cookiecutter.readthedocs.io/en/latest/first_steps.html以获得指导。
我创建了一个 cookiecutter-spider 目录并将我的 spider1 模板放入其中。我的 cookiecutter.json 文件在教程目录中,如下所示:
{
"project_name": "Offical Project Name™",
"description": "A short description of the project",
"directory_name": "tutorial",
"file_name": "test_spider",
"project_name": "cookiecutter-spider",
}
当我在命令行运行它时:
$ cookiecutter /e/ENVS/r2/tutorial/cookiecutter-spider
A valid repository for "e:/ENVS/r2/tutorial/cookiecutter-spider" could not be found in the following locations:
e:/ENVS/r2/tutorial/cookiecutter-spider/
e:/ENVS/r2/tutorial/cookiecutter-spider/
我怎样才能得到这个工作?