I'm trying to create a python package installer for myself. I've also given an option to set up environment variable to the user by selecting the directory where python is installed.
What problem I was having was that I had to set it up every time when I restarted the program. So, I did a bit of research & found out that its working scope is only within the process.
Now no user would like to set it up again & again if he/she wants to install multiple packages(Let's assume he doesn't know how to set it up manually). Now this broke my heart(Also, couldn't understand the creating a new environment part & how do I go on about applying it in my case).
Tl;dr:
How to set up a os.environ
permanently on user's system?