If you try to run virtualenv
with the environmental variable PYTHONDONTWRITEBYTECODE=true
set, it gives this error:
The PYTHONDONTWRITEBYTECODE environment variable is not compatible with setuptools. Either use --distribute or unset PYTHONDONTWRITEBYTECODE.
Why does setuptools require the ability to write bytecode?
I don't particularly like having .pyc
files around, so I like to prevent it from being written.
(I'm not asking how to get around this; that's trivial: just add PYTHONDONTWRITEBYTECODE=""
at the beginning of any command that requires the flag to be unset, or unset it globally)
Use a recent version of virtualenv
and you will not see this error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With