When I created my virtual environment, it inherited all of the environment variables that were currently on my Windows machine. I have since changed many of those variables, and my virtual environment is now stuck with the old values. How can I change the environment variables within my virtual environment?
I discovered that the reason my virtual environment's environment variables were keeping their previous values was because I was still in the same terminal session. Restarting my terminal fixed the issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.