3 ms·
virtualenv keeps pure-python code isolated from other python code associated with that interpreter. Any python code that makes use of c libraries and other syst
by kalefranz 9y ago
virtualenv keeps pure-python code isolated from other python code associated with that interpreter. Any python code that makes use of c libraries and other system libraries is usually not isolated. In fact it can be quite leaky and cause all sorts of difficult to identify problems.
- toyg 9y ago> Any python code that makes use of c libraries and other system libraries is usually not isolated. What? As long as you compile it in the virtualenv, it is. And now with wheels that's basically the case for any modern library. Yes, you will share the C libraries in stdlib, but if you really want you can isolate those too.