You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The path is treated as a literal string and tries to escape the \ paths from windows. A potential fix is to treat them as raw strings instead: lab132@97fcfae
I tried installing this repo using cookiecutter on 2 different PC's. They keep failing with the same error.
PS C:\Users<USERNAME><DRIVE>\Desktop\1.Projects> python -m cookiecutter https://github.com/italomaia/flask-empty
[1/17] project_name (Your Project Name): test
[2/17] repo_name (test):
[3/17] version (0.1):
[4/17] use_sql_sqlite (yes): no
[5/17] use_sql_postgres (no):
[6/17] use_sql_mysql (no): yes
[7/17] use_sql_cockroachdb (no):
[8/17] use_nosql_mongodb (no):
[9/17] use_admin (no):
[10/17] use_security (yes):
[11/17] use_rest (yes):
[12/17] use_socketio (yes):
[13/17] use_async_tasks (yes):
[14/17] use_http_mixin (yes):
[15/17] serve_static_files (yes):
[16/17] create_index_view (yes):
[17/17] json_friendly (yes):
File "C:\Users<USER>\AppData\Local\Temp\tmpj8dljd6h.py", line 42
'_output_dir': 'C:\Users/<USERNAME><DRIVE>\Desktop\1.Projects',
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)
Not sure what the issue is though.
The text was updated successfully, but these errors were encountered: