Consider using pew to activate virtual environments
See original GitHub issueI’ve been using it via the pew
package, which fills roughly the same niche as virtualenvwrapper, but using the inve approach. My own experience finds it vastly superior to the script-sourcing approach. Explained simply, it starts a subshell instead of changing the current shell. That means de-activating an environment is as simple as the standard exit
command in your shell.
https://gist.github.com/datagrok/2199506 https://github.com/berdario/pew
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Virtual environments — Python Workshops 0.1.0 documentation
Pew can create, delete and copy your environments, using a single command to switch to them wherever you are, while keeping them in...
Read more >Getting "No command 'pew' found" every time I open the ...
From the canconvs instructions, it says to use pew as your virtual environment. If you are already have your own virtual environment, then...
Read more >Use pew, not virtualenvwrapper, for Python virtualenvs
For those just starting Python, I'd say just go with virtualenv. ... Virtual environments aren't a lot of fun without local packages and ......
Read more >Use pew, not virtualenvwrapper, for Python ... - plan space
The solution is to use pew instead. The Python Environment Wrapper (pew) handles your environment elegantly. This includes not mangling your ...
Read more >Comparing Python Virtual Environment tools | by Karan Bhanot
2. Python Environment Wrapper (pew). pew acts as a wrapper and you only need to remember this command once you start working with...
Read more >Top Related Medium Post
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 FreeTop 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
Top GitHub Comments
i tried using pew, but
pew workon
does not work on my machine for some reasonThat’s cool, it’s a different model, and it may not be worth the time Right Now.
I’d like to point out, for possible future reference, that the inve model doesn’t require using pew, though. inve was originally designed as an
activate
replacement, that would live in the same place, but open a subshell instead. That concept can be really helpful. pew thought so, and made a virtualenvwrapper alternative built on it, and I think it works excellently.