This doesn't have a solution. It's fundamentally broken software. Virtual environments are merely presumed to work but they don't, and running your python interpreter in the V.E. doesn't help in the slightest. I wish there was an answer.