-
Notifications
You must be signed in to change notification settings - Fork 9
1. Installation
These installation instructions were tested on Ubuntu running under WSL2. They should work the same under a standalone Ubuntu install.
-
(Optional) Install WSL2. Follow the instructions at Windows Subsystem for Linux Installation Guide for Windows 10.
-
After installing Ubuntu, launch it, setup a username and password then execute:
sudo apt update -
Follow the Linux instructions (Debian/Ubuntu)
sudo apt install python3 mediainfo ffmpeg mktorrent (Debian/Ubuntu)
-
No virtualenv
⚠️ NOT RECOMMENDED ☠️
Other things you install may conflict with pythonbits's requirements. Only use this if this is the only python package you will be installing.
pip install --user pythonbits -
Basic virtualenv
🛠️ Recommended for development purposes 🧙♂️-
Install virtual environments, which will keep different python projects separated and prevent dependency conflicts:
sudo apt install python3-venv(Debian/Ubuntu) -
Create a virtual environment for pythonbits:
python3 -m venv pythonbits -
Activate the virtual environment:
source pythonbits/bin/activate -
Install pythonBits:
python3 -m pip install pythonbits
Remember that you need to activate the virtualenv again the next time you open a console and wish to run pythonbits.
-
-
pipx
👍 Recommended for end-users 👶- Install pipx:
sudo apt install pipx(Debian/Ubuntu) - Install pythonbits:
pipx install pythonbits
- Install pipx:
pythonbits --version