Closed AI-Guru closed 5 months ago
I am getting the same error when running it with pipx run cookiecutter gh:audreyfeldroy/cookiecutter-pypackage On windows 10.
I had the same issue on my WSL2 env and found a solution. Patch ~/.cookiecutters/cookiecutter-pypackage/cookiecutter.json
--- cookiecutter.json 2024-04-09 23:00:55.324901260 +0900
+++ cookiecutter.json.new 2024-04-09 23:01:39.037179065 +0900
@@ -13,5 +13,6 @@
"command_line_interface": ["Typer", "Argparse", "No command-line interface"],
"create_author_file": "y",
"open_source_license": ["MIT license", "BSD license", "ISC license", "Apache Software License 2.0", "GNU General Public License v3", "Not open source"],
- "__gh_slug": "{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}"
+ "__gh_slug": "{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}",
+ "use_black": "n"
}
Description
I wanted to create a python package with cookiecutter. I filled in all the blanks in the interview on startup. Then I got an error. Then I tried again, this time only using the default values. Still the same error.
What I Did
Here is the error message:
Here is the output including the error message: