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

569 views
Skip to first unread message

Demayne Collins

unread,
Jul 17, 2018, 11:33:27 AM7/17/18
to Django users
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? 

MTS BOUR

unread,
Jul 17, 2018, 12:04:28 PM7/17/18
to django...@googlegroups.com

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"

--
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...@googlegroups.com.
To post to this group, send email to django...@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.

Demayne Collins

unread,
Jul 17, 2018, 4:29:12 PM7/17/18
to django...@googlegroups.com
Got it. That looked like it worked. Thanks again...

r,

Demayne

You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/N3Pa6HDlFBs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
Reply all
Reply to author
Forward
0 new messages