Tuesday, July 17, 2018

Re: Having issues with dependencies and virtual environments when I run pipenv lock and when I try to install django using this command.

Stackoverflow is your friend

https://stackoverflow.com/questions/51201018/pipenv-not-recognizing-pyenv-version

Pipenv is doesn't automatically use the same Python version unless you tell it to do that.

You can either tell Pipenv to use a specific Python version, like

pipenv install --python 3.7

or you can set an environment variable to default to the Pyenv version, like

export PIPENV_PYTHON="$PYENV_ROOT/shims/python"

Le mar. 17 juil. 2018 16:33, Demayne Collins <collinsd73@gmail.com> a écrit :
I am basically trying to use this tutorial but I having issues with python 3.6 and 3.7 and the pipenv command in general. Any assistance would help. here is the error info below.

(revdjangoenv) C:\Users\Demayne Collins\Desktop\pages\pages_project>pipenv lock
Warning: Your Pipfile requires python_version 3.6, but you are using 3.7.0 (C:\Users\D\.\p\S\python.exe).
  $ pipenv check will surely fail.
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Updated Pipfile.lock (ca72e7)!


Why does pipfile only require python version 3.6? 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/86e3560d-1088-47e6-ab25-e01fb77d96c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAq3G-GWorAqoM9v-XQcvs%3DSufbiFc3h1dQfXFuWweu1-L14OA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment