consistent virtualenv location?
See original GitHub issuehi, 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:
- Created 6 years ago
- Comments:16 (12 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
no
@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 calledmyproject-api
. I end up with several virtualenv’s all named something likeapi-somehashvalue
right now