Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.7 in docker file and pip #29

Open
Alex-CodeLab opened this issue Apr 14, 2020 · 3 comments
Open

python3.7 in docker file and pip #29

Alex-CodeLab opened this issue Apr 14, 2020 · 3 comments

Comments

@Alex-CodeLab
Copy link

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
Copy link

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
Copy link
Member

jrief commented Jan 23, 2021

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants