Re:Show HN: A platform for beginners to learn programming in...
by noitpmeder on Saturday August 01, 2020 @10:14PM
(#24025769)
Please DO NOT do this. It is so much easier to always create a virtual environment, and then you never have to worry about installing two applications on the same system that may have conflicting versions. Additionally, you don't know what else may be installed into the system's default python environment.
[ Parent
| on HN ]
Re:Show HN: A platform for beginners to learn programming in...
by jamestimmins on Sunday August 02, 2020 @01:08AM
(#24026515)
I find you're better off pretending that your system doesn't have any builtin Python. I use virtual environment for everything.
Re:Show HN: A platform for beginners to learn programming in...
by ptx on Sunday August 02, 2020 @10:42AM
(#24028989)
Using the system Python for scripts that only depend on the standard library should be pretty safe. As soon as I need any third-party dependency I create a virtual environment.
Edit: Although if startup performance is important, using a virtual environment might be a good idea even for simple scripts. Running a "hello world" program using the system Python takes twice as long on my system as running it with "python -S" (i.e. ignoring site packages) or from a fresh virtual env.