Skip to content

Install pipfile packages with pipenv shell if environment doesn't exist #6402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fosteram27 opened this issue May 6, 2025 · 0 comments
Open

Comments

@fosteram27
Copy link

Is your feature request related to a problem? Please describe.

I'm always frustrated when I have to run both pipenv install and pipenv shell when creating a new environment in a local repo that includes both pipfile and pipfile.lock

Describe the solution you'd like

When running pipenv shell from a directory where a pipenv does not exist, I would like it to check for a pipfile in the same directory and install the packages if one exists.

Describe alternatives you've considered

I looked for this as an option for pipenv shell and did not see one. I tried to consider a use case where you would run pipenv shell for the first time and not want to install the pipfile packages, and I could not. If this use case does exists, please close no action this issue.

Additional context

Add any other context or screenshots about the feature request here. It may be a good idea to mention that platform and Python version you are on.


Pipenv version: '2025.0.2'

OS Name: 'nt'

User pip version: '25.0.1'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant