awesto / cookiecutter-django-shop

Cookiecutter django-SHOP is a blueprint for an e-commerce site based on django-CMS.
126 stars 58 forks source link

python3.7 in docker file and pip #29

Open Alex-CodeLab opened 4 years ago

Alex-CodeLab commented 4 years ago

What happened?

instructions say that python3.7 should be used, but various files (docker) stil has python3.6 resulting in this error:

Warning: Python 3.6 was not found on your system…
You can specify specific versions of Python with:
  $ pipenv --python path/to/python
Traceback (most recent call last):
...
ali-nasir-ali commented 3 years ago

there is also the problem of python 3.7 , which is required in pipfile inside the project, pipenv run ./manage.py don't run because of it so i found the solution: open the pipfile in the project file e.g. my_shop , remove the ( required: python 3.7 ) save it .

jrief commented 3 years ago

If you want to use another Python version, please try to change the python_version in the generated Pipefile after it has be generated. I could add an option to the cookiecutter template, so one can choose the desired version.

ali-nasir-ali commented 3 years ago

thanks that would be great, please if you don't me asking. I read the documentation as well, but could not find this. Is the cookiecutter-django-shop any python version specific or it will work with any Python version after 3.7?