1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-14 19:50:11 +01:00
LibreTranslate/CONTRIBUTING.md
2023-07-04 09:41:53 +02:00

1.0 KiB
Raw Blame History

Contributing

If you want to make changes to the code, you can build from source, and run the API.

Build Dependencies

  • cmake

Debian / Ubuntu

sudo apt-get install cmake

Fedora / RHEL

sudo dnf install cmake

FAQ

Externally Managed Environment

Some users may encounter the following error while installing packages:

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    …

This occurs when your operating system depends on and manages Python for core functionality. In this case, you should install and setup venv (virtual environments) to manage project dependencies.

This prevents pip packages from being installed system-wide. This way, there are no risks of pip packages conflicting between multiple projects or the operating system.

References: