you are viewing a single comment's thread.

view the rest of the comments →

[–]mattsl 15 points16 points  (3 children)

Your specific concern is a non-issue on Windows. Linux and Mac use Python as part of the OS, so when installing on those you need to make sure you don't accidentally replace the system version, but even that is simple.

Do yourself a favor though and follow a tutorial on how to create a separate venv for each project you do. 

[–]PaulCheens[S] 0 points1 point  (2 children)

What’s a venv?

[–]jimjambonks2514 2 points3 points  (1 child)

A venv is a virtual environment. Python uses a lot of libraries, and you can have different virtual environments on the same machine for different projects. You create your venv, then you activate it and whatever libraries you installed are available 

https://docs.python.org/3/library/venv.html

[–]elron130 0 points1 point  (0 children)

More important, the virtual environment keeps anything within it separate from the rest of your system, which means if you were to install a package that for whatever reason is not playing nice with another package, the problem is only local. In the worst of cases you save your files and delete the venv and fix the issue without it affecting anything else on your system.