Python3 can be installed via the Synology DSM Installation Center, but pip is not installed. Here is a short how to on how to install pip.
Install pip
sudo python3 -m ensurepip
Update pip
sudo python3 -m pip install --upgrade pip
Check pip version
python3 -m pip -V
Install a package
sudo python3 -m pip install XYZ