question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
nateprewittcommented, Feb 20, 2017

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 the PIPENV_SHELL_COMPAT environment variable in your shell.

0reactions
nateprewittcommented, Feb 20, 2017

No problem, glad it worked 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found