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.

consistent virtualenv location?

See original GitHub issue

hi, I was wondering if its possible to have a consistent named virtualenv path? Some people on my team like to use pycharm which I believe needs to have a consistent path to a virtualenv to work properly. It’s not entirely clear to me right now when the virtualenv path (pipenv --venv) changes.

I understand I can use WORKON_HOME to change the folder but I believe the venv name is still subject to change?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (12 by maintainers)

github_iconTop GitHub Comments

11reactions
kennethreitzcommented, Sep 20, 2017

no

3reactions
AlJohricommented, Sep 19, 2017

@kennethreitz would you accept a PR that would allow for a custom virtualenv name? I tend to do multi-app projects so the path to my Pipfile would be myproject/api/Pipefile. I would ideally like the virtualenv to be called myproject-api. I end up with several virtualenv’s all named something like api-somehashvalue right now

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the correct location for a maintained virtualenv service?
The traditional location is ~/.virtualenvs. I use a different setup where I have a ~/projects folder which contains the different virtualenvs ...
Read more >
how to specify location of virtualenv? - Stack Overflow
The default for virtualenv ENV is to create the ENV directory in your current directory (if it's not given as an absolute path)....
Read more >
Python Virtual Environments: A Primer
When you create a virtual environment using venv , the module re-creates the file and folder structure of a standard Python installation on...
Read more >
Pipenv & Virtual Environments
virtualenv venv will create a folder in the current directory which will contain the Python executable files, and a copy of the pip...
Read more >
Virtual Environments - The Hitchhiker's Guide to Python
virtualenv venv will create a folder in the current directory which will contain the Python executable files, and a copy of the pip...
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