-
-
Notifications
You must be signed in to change notification settings - Fork 7
Manual install
To read about what package need for what go here.
Here we install all needed packages globally, remember that you can install only some of them, and then run auto install.
-
Install python dist utils:
sudo apt install python3-distutils -y
-
Install pip:
sudo apt install python3-pip -y
-
Upgrade pip:
sudo -H python3 -m pip install --upgrade pip
-
(Optional) Install dev packages for python. It need for compiling python modules that have no binary wheel distro's. We are working on this, so in future this step will be not needed. If this step is needed for you for x86/arm8(aarch64) CPU - please report it for us. Execute:
sudo apt install build-essential python3-dev -y
-
Install required modules:
sudo -H python3 -m pip install numpy pillow
-
Install optional modules:
sudo -H python3 -m pip install scipy pywavelets
If you use postgre database, then execute:
sudo -H python3 -m pip install asn1crypto
If you use mysql/mariadb, then execute:
sudo -H python3 -m pip install pynacl cryptography
-
(Optional) Install optional module pillow_heif:
sudo -H python3 -m pip install pillow_heif
If this step throws an error, try update pip(step2).
-
(Optional) Install boost modules:
sudo -H python3 -m pip install hexhamming
-
Go to MediaDC install page, and press "Check" button, and start to use it!
-
Install Python:
sudo dnf install python3 -y
-
Upgrade pip to latest:
sudo python3 -m pip install --upgrade pip setuptools
-
(Optional) Install dev packages for python. It need for compiling python modules that have no binary wheel distro's. We are working on this, so in future this step will be not needed. If this step is needed for you for x86/arm8(aarch64) CPU - please report it for us. Execute:
sudo dnf install gcc-c++ python3-devel -y
-
Perform steps from Debian/Ubuntu from step 5 to end. That's all!
-
Be sure to have pip version 20+ and python 3.6+(do steps 1-4 for Debian/Ubuntu from this page, or steps 1-3 for Centos/Fedora for this).
-
Run:
sudo -H python3 -m pip install -r "%path_to_mediadc%/lib/Service/python/requirements.txt"
or
sudo -H python3 -m pip install -r https://raw.githubusercontent.com/andrey18106/mediadc/main/lib/Service/python/requirements.txt