Use a single site package (as exception) for a virtualenv
问题 In a virtualenv, how can I ignore the no-site-packages rule for a single package? Some background: I use virtualenv for my deployments, but these take a lot longer since I have been using lxml . Compiling this takes up to 15 minutes each time I reinstall for a new virtualenv. Can I make some sort of an exception for lxml and use the global site package? Is there any safer/more reliable option than just copying it into the new virtualenv? 回答1: Short answer: no, but you can do something else to