Skip to content

syntaxError: invalid syntax #74

Description

@HenrryVargas

Hi

when a i run cookiecutter https://github.com/hackalog/cookiecutter-easydata.git --checkout bus_number it show me the following error:

File "/tmp/tmpNyAsgt.py", line 13
src_path = config_dir / f'{template_name}.json'
^
SyntaxError: invalid syntax
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

i litle more information about:

root@atenea:/home/vila/Documentos/ejemplos# cookiecutter https://github.com/hackalog/cookiecutter-easydata.git --checkout bus_number
You've downloaded /root/.cookiecutters/cookiecutter-easydata before. Is it okay to delete and re-download it? [yes]: yes
project_name [project_name]: iafactory
repo_name [iafactory]:
module_name [src]: iafactory
author_name [Your name (or your organization/company/team)]: henrry vargas
description [A short description of this project.]:
Select open_source_license:
1 - MIT
2 - BSD-2-Clause
3 - Proprietary
Choose from 1, 2, 3 [1]: 1
s3_bucket [[OPTIONAL] your-bucket-for-syncing-data (do not include 's3://')]:
aws_profile [default]:
Select virtualenv:
1 - conda
2 - virtualenv
Choose from 1, 2 [1]: 1
Select python_interpreter:
1 - python3
2 - python
Choose from 1, 2 [1]: 1
conda_path [~/anaconda3/bin/conda]:
File "/tmp/tmpNyAsgt.py", line 13
src_path = config_dir / f'{template_name}.json'
^
SyntaxError: invalid syntax
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions