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.

Is it possible to list which virtualenvs are managed by pipenv?

See original GitHub issue

In my ~/.virtualenvs folder, I have a number of environments - some are managed by pew and others by pipenv. I can’t easily tell which is which (although my guess is that the ones ending in -<random letters> are managed by pipenv), nor do I appear to be able to identify which project directory is associated with the pipenv-managed venvs.

Basically, I’m looking for a way to do housekeeping on old or experimental projects - identify and tidy up no longer used virtual environments, determine whether it’s OK to delete a project directory or if it will leave a venv behind, etc. My ~ directory is on a limited-space SSD, so I’d prefer to keep it clean.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:19 (18 by maintainers)

github_iconTop GitHub Comments

10reactions
uranusjrcommented, Jun 6, 2018

This is made better now that #1861 is merged, and Pipes seems to be coming along quite nicely. We might still want to have a pipenv --list to do this though.

9reactions
kennethreitzcommented, Jul 4, 2018

pipes is the solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

List all Pipenv environments - Stack Overflow
It does not list virtualenvs not managed through this wrapper (which centralizes the where the venvs are created). While there is no equivalent ......
Read more >
Pipenv & Virtual Environments
Pipenv is a dependency manager for Python projects. If you're familiar with Node.js' npm or Ruby's bundler, it is similar in spirit to...
Read more >
How to manage your python virtualenvs with Pipenv - Medium
A new hope ☀️​​ Let's see how to install, setup, and create a virtualenv for a project all via pipenv. We would use...
Read more >
How to Manage your Python Projects with Pipenv and Pyenv
A Python virtual environment is an important tool for developers to separate project dependencies in isolated environments.
Read more >
How to Manage Python Dependencies with Virtual ...
Multiple Python projects, each with their own dependencies can be effectively managed using separate virtual environments. Pipenv, Venv ...
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