pipenv shell is not working
See original GitHub issue~/***/infrastructure master*
❯ pipenv shell
Launching subshell in virtual environment. Type 'exit' or 'Ctrl+D' to return.
~/***/infrastructure master*
❯ which python
/Users/jeyraof/.pyenv/shims/python
~/***/infrastructure master*
❯
Like above, pipenv shell
did not activate virtualenv.
So, i tried to this:
~/***/infrastructure master*
❯ pipenv --venv
/Users/jeyraof/.local/share/virtualenvs/infrastructure
~/***/infrastructure master*
❯ source /Users/jeyraof/.local/share/virtualenvs/infrastructure/bin/activate
~/***/infrastructure master*
(infrastructure) ❯ which python
/Users/jeyraof/.local/share/virtualenvs/infrastructure/bin/python
~/***/infrastructure master*
(infrastructure) ❯
it works well!
What can i do fix it?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
pipenv shell, does not activate the virtual environment
Try doing this: pip uninstall pipenv. this will uninstall existing pipenv after doing that re-install pipenv by doing this:
Read more >Frequently Encountered Pipenv Problems - Read the Docs
This is usually a result of mixing Pipenv with system packages. We strongly recommend installing Pipenv in an isolated environment. Uninstall all existing ......
Read more >Pipenv environment is not activated using pipenv shell #12011
Set the default integrated terminal to GitBash; Create new Pipenv environment; Set the project interpreter to the adequate venv; Open a new ...
Read more >How To Install pipenv Tool on Windows - Python Tutorial
Fifth, use the following command to activate the new virtual environment: pipenv shell. If you run the app.py now, it should work correctly:...
Read more >Pipenv shell doesn't work - Command Line
Hello, I have the following problem, pipenv shell command does not open the line that allowing to enter the language you want to...
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 Free
Top 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
Ok, this appears to be a duplicate of #184 and how pyenv interacts with pew. You’ll need to either use
pipenv shell --compat
or set thePIPENV_SHELL_COMPAT
environment variable in your shell.No problem, glad it worked 😃