-
Notifications
You must be signed in to change notification settings - Fork 10
1. Installation
These installation instructions were tested on Ubuntu running under WSL2. They should work the same under a standalone Ubuntu install.
-
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)
-
pipx
👍 Recommended for end-users 👶- Install pipx:
sudo apt install pipx
(Debian/Ubuntu) - Install pythonbits:
pipx install pythonbits
(current release)
pipx install git+https://github.com/mueslo/pythonbits.git@master
(e.g. latest master dev version, at your own risk)
- Install pipx:
-
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.
-
-
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
pythonbits --version
Check out usage examples
If installed using pip
, enter your virtual environment and run pip install --upgrade pythonbits
. For pipx
, run pipx upgrade pythonbits
.