Skip to content

Linux Source Code Deployment

  1. Install FFmpeg. Run yum install ffmpeg on CentOS, or apt-get install ffmpeg on Ubuntu.
  2. It is recommended to use uv for installation. If uv is not yet installed, please run the following command to install it: curl -LsSf https://astral.sh/uv/install.sh | sh
  3. Download the source code. Execute the following commands:
    git clone https://github.com/jianchang512/pyvideotrans
    cd pyvideotrans
  4. Run uv sync to install dependencies. Depending on network conditions, this may take a few to several minutes. Users in Mainland China can use a mirror to accelerate the installation using the command: uv sync --index https://mirrors.aliyun.com/pypi/simple/
  5. Run uv run sp.py to launch the software interface.

To enable CUDA acceleration, execute the following commands separately:

Example

uv  remove torch torchaudio

uv  add --reinstall torch torchaudio --index-url https://download.pytorch.org/whl/cu126

uv add nvidia-cublas-cu12 nvidia-cudnn-cu12