[英]Create Django Project template using cookiecutter on Windows
I am trying to create cookiecutter project template in windows. 我试图在Windows中创建cookiecutter项目模板。 As per the instructions on the official site: https://cookiecutter.readthedocs.io , I installed cookiecutter using pip.
根据官方网站上的说明: https ://cookiecutter.readthedocs.io,我使用pip安装了cookiecutter。
Next step mentioned on site is to use following command to create project template using cookiecutter. 现场提到的下一步是使用以下命令使用cookiecutter创建项目模板。
cookiecutter https://github.com/audreyr/cookiecutter-pypackage.git cookiecutter https://github.com/audreyr/cookiecutter-pypackage.git
I also did that on my windows cmd but it's showing error: 'cookiecutter' is not recognized as an internal or external command. 我也在我的Windows cmd上做了这个,但它显示错误:'cookiecutter'不被识别为内部或外部命令。
Can somebody suggest me a way around? 有人可以建议我一路走来吗?
Make sure that: 确保:
%PYTHON_HOME%
and %PYTHON_HOME%\\Scripts
%PYTHON_HOME%
和%PYTHON_HOME%\\Scripts
Then, any pip install
program should be available. 然后,任何
pip install
程序都应该可用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.