Hi Ludo, > How does virtualenv work, if not by setting PYTHONPATH?
It creates a new filetree corresponding to a complete new Python installation, and the uses soft links to share most of the actual files with the parent installation. > Setting up an environment all about augmenting the search path, so I > naively thought that virtualenv sets PYTHONPATH or the corresponding > Python variable. PYTHONPATH only adds directories to the search path. The standard library and packages installed via pip are already on the search path before PYTHONPATH is looked at. So virtualenv could not work by modifying PYTHONPATH. Konrad.
