cookiecutter-django-shop icon indicating copy to clipboard operation
cookiecutter-django-shop copied to clipboard

Update post_gen_project.py

Open stealth-d opened this issue 1 year ago • 0 comments

fixing this:

Usage: pipenv lock [OPTIONS] Try 'pipenv lock -h' for help.

Error: No such option: --requirements Did you mean --quiet? Traceback (most recent call last): File "/var/folders/g1/_3sb90lj3v9d_p0m2k_439j80000gn/T/tmpbx0m76uw.py", line 229, in main() File "/var/folders/g1/_3sb90lj3v9d_p0m2k_439j80000gn/T/tmpbx0m76uw.py", line 217, in main pipenv_to_requirements() File "/var/folders/g1/_3sb90lj3v9d_p0m2k_439j80000gn/T/tmpbx0m76uw.py", line 159, in pipenv_to_requirements ret = subprocess.check_output(['pipenv', 'lock', '--requirements']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['pipenv', 'lock', '--requirements']' returned non-zero exit status 2. ERROR: Stopping generation because post_gen_project hook script didn't exit successfully Hook script failed (exit status: 1)

Description

Rationale

Use case(s) / visualization(s)

stealth-d avatar Dec 15 '23 15:12 stealth-d