I am trying to set the variables PYTHONPATH and PYTHONHOME , but I can not figure it out!
When I try to start python I get a No module named site error message.
After some research, it seems that this is due to the fact that these PYTHONPATH and PYTHONHOME environment variables PYTHONPATH set incorrectly.
When I try to start python after removing both of these variables, it may work correctly. But the problem is that this is only for the life of my virtualenv . After I stopped virtualenv and started it again, the problem will return.
How to disable these variables forever?
user1328021
source share