# 提前安装 pyinstaller
pip install pyinstaller
pip install virtualenv
virtualenv venv --no-setuptools --no-wheel
linux:
$ cd venv
$ source ./bin/activate
Windows 10:
> cd venv
> .\Scripts\activate.bat
linux:
$ deactivate
Windows 10:
> .\Scripts\deactivate.bat
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116 demucs SoundFile
pip install torch torchvision torchaudio demucs SoundFile pyinstaller
./venv/bin/pip freeze
pyinstaller separate.py