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.

Error with 'pipenv shell -c'

See original GitHub issue

I tried running pipenv shell -c as recommended here and got the following error:

⚡ ~/proj/temp/pipenvtest$ pipenv shell -c
Spawning environment shell (/usr/local/bin/zsh). Use 'exit' to leave.
. /Users/kbd/.local/share/virtualenvs/pipenvtest-4itLjI3S/bin/activate
-c
⚡ ~/proj/temp/pipenvtest$ . /Users/kbd/.local/share/virtualenvs/pipenvtest-4itLjI3S/bin/activate
(pipenvtest-4itLjI3S) ⚡ ~/proj/temp/pipenvtest$ -c
zsh: command not found: -c

It seems to pass anything after shell to the shell inside the virtualenv (which is what this code seems to do), but -c isn’t being handled?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
techalchemycommented, Apr 9, 2018

Closing, will address with documentation

0reactions
techalchemycommented, Apr 7, 2018

Also our documentation is under no obligation to explain every technical detail of the inner workings of pipenv, if you need to know what lines of code it runs to simulate a virtualenv activation you should read them

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Encountered Pipenv Problems - Read the Docs
Here are some common questions people have using Pipenv. Please take a look below and see if they resolve your problem. ... pipenv...
Read more >
Common Pipenv Errors and How to Solve Them: Why Won't it ...
Here, you'll learn how to troubleshoot Pipenv installation and locking issues. ... Locking Issue: Pipfile Contains a Reference to an Inexistent Package.
Read more >
Pipenv shell not recognized after installing python and pipenv
In the terminal go to the project directory (cd project_directory) and type this command to specify virtual environment location: pipenv -- ...
Read more >
Pipenv shell doesn't work - Command Line
Hello, I have the following problem, pipenv shell command does not open ... instead it gives: C: \ Users \ User \ Desktop...
Read more >
Configure a Pipenv environment | PyCharm Documentation
Discover the proper executable path as described in the pipenv installation procedure and enter the target string in the Pipenv executable field, for...
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