User avatar
chambliss
1
Like
why shouldn't you use system python

Answer

You shouldn't use the system Python for several reasons:
  1. System ownership: The system Python belongs to the operating system, as it comes pre-installed with it. It's intended for system-level tasks and utilities, rather than user-level development
    1
    .
  2. Version limitations: The default version of Python that comes with your operating system might be outdated, and you may need to wait for a new OS release to get an updated version
    1
    .
  3. Potential conflicts: Some operating systems use the system Python for their operation. For example, yum on Linux makes heavy use of Python. If you install a new version of Python without being careful to install it into your user space, you could damage your ability to use your OS
    1
    .
  4. Development best practices: It's generally recommended to use a separate Python installation or virtual environment for development purposes. This allows you to manage dependencies and versions more effectively, without interfering with the system Python
    4
    .
To avoid these issues, it's better to use a separate Python installation, such as Anaconda, or create a virtual environment for your development projects. This will help you manage dependencies and versions more effectively, without causing conflicts with the system Python
3
.

Related

what are the risks of using system Python
what are the benefits of using a virtual environment instead of system Python
how to install Python without using system Python