Can you activate multiple Python virtual environments at once?
问题 I want to use tensorflow through a virtual environment. However, the Python script I want to run requires me to use a separate virtual environment that does not include tensorflow. Is it possible to activate these simultaneously? If not, can I merge the two virtual environments somehow? 回答1: Check this out. You could also activate different virtual environments on different terminal sessions 回答2: You could try adding the site-packages dir of the other virtualenv to your PYTHONPATH variable.