pipenv using wrong python with pyenv
See original GitHub issuepipenv is using python 3.5.3 instead of 3.6.2 for some reason
$ pipenv --version
pipenv, version 8.0.7
$ python --version
Python 3.6.2
$ which python
/Users/johria/.pyenv/shims/python
$ pipenv install --dev
Creating a virtualenv for this project…
⠋Using base prefix '/Users/johria/.pyenv/versions/3.5.3'
New python executable in /Users/johria/.local/share/virtualenvs/context-generator-d3x1ENAX/bin/python3.5
Also creating executable in /Users/johria/.local/share/virtualenvs/context-generator-d3x1ENAX/bin/python
Installing setuptools, pip, wheel...done.
Virtualenv location: /Users/johria/.local/share/virtualenvs/context-generator-d3x1ENAX
Installing dependencies from Pipfile.lock…
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 25/25 — 00:00:44
To activate this project's virtualenv, run the following:
$ pipenv shell
$ pyenv versions
system
2.7.13
3.5.3
* 3.6.2 (set by /Users/johria/Development/heliograf/apps/context-generator/.python-version)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:39 (25 by maintainers)
Top Results From Across the Web
Why is pipenv telling me the wrong version of python?
When you did pipenv install , it's NOT going to use that same virtual env directory, because as described above, it auto-generates the...
Read more >How to Manage your Python Projects with Pipenv and Pyenv
Set/change a Python version locally for a project. ... If you use Pyenv, the pipenv install command will use the global Python version...
Read more >How to install pyenv+pipenv in ubuntu and use multiple ...
How to install pyenv+pipenv in ubuntu and use multiple versions of python and ... <python-version> command here, because using local may lead to...
Read more >Frequently Encountered Pipenv Problems - Read the Docs
Pipenv does not respect pyenv's global and local Python versions¶. Pipenv by default uses the Python it is installed against to create the...
Read more >Python Environment 101 - Towards Data Science
pipenv creates isolated pip environments whereas pyenv+virtualenv creates virtualenvs that multiple projects can use. pyenv. If you are working ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
fixed! thank you all! 🎉
you’ll have to do a
pipenv --rm
to start over.