Comments (3)
More points to note:
- venv is only available in Python 3.5+, so if a project must use Python < 3.5, it must use virtualenv
- venv has mixed reception, though it appears to be the "best" solution on macOS and the recommended solution for VS Code , Jupyter and matplotlib
- virtualenv isn't going away any time soon, and pipenv is built around it. If pipenv has any merrit (which it seems on skimming that it does), then I may want to write tooling around both
- I don't like the virtualenvwrapper stuff, that's why I wrote my fns in the first place
- Where does Anaconda sit within all this? I think it's can remain on the side as it currently is handled by my existing fns.
from dotfiles.
More notes:
This answer to the SO question above recommends venv over everything.
A work colleague recommends pyenv (yet another "only one obvious way to do it"). pyenv manages multiple Pythons much like rbenv/Node.js (forked from rbenv) and it has a plugin for virtualenv, called pyenv-virtualenv, which automatically will use python -m venv
when available, and virtualenv
is unavailable.
It also supports Anaconda/Miniconda.
Perhaps I should abandon my wrapperns or switch them to this?
from dotfiles.
more to read:
- https://docs.python-guide.org/dev/virtualenvs/
- https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments
- https://docs.python.org/3/library/venv.html#venv-def
from dotfiles.
Related Issues (20)
- Use greek letters in the shell prompt HOT 4
- Wiki is out of date, needs some work before 1.0 is tagged HOT 1
- fix node init HOT 2
- TODO items for Linux prompt functions
- TODO items for SSH HOT 1
- TODO - squiz specifics HOT 1
- TODO - session record dates in listing HOT 1
- Make source/50_python.sh able to be shared alone HOT 2
- alias load=source
- ln: target '/usr/local/share/man/man1/' is not a directory: No such file or directory HOT 1
- dotfiles picks the ubuntu init script on SUSE HOT 2
- tmux invalid options on linux/suse
- monster prompt __prompt_cpu does not handle multi-day uptimes HOT 1
- is_raspbian() function does not detect Raspbian Desktop/PC
- use π symbol in __prompt_ending() on Raspbian
- refactor time? HOT 1
- Ability to "slurp" dotfiles to another host HOT 2
- function and/or script to "become root" but with my dotfiles HOT 1
- porting issues between macOS and redhat HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.