AutoMISP
AutoMISP copied to clipboard
Missing python package during install
During the installation of "Extra MISP packages", the following pip error occurred. I worked around this by installing scikit-build in a step previous
print_status "Installing MISP extra modules.."
cd /usr/local/src
dir_check /var/log/misp_mod_logs/
chown -R www-data:www-data /var/log/misp_mod_logs
git clone https://github.com/MISP/misp-modules.git &>> $logfile
error_check "Download of MISP modules"
cd misp-modules
+ pip3 install scikit-build
pip3 install -I -r REQUIREMENTS &>> $logfile
error_check 'MISP module requirement installation'
pip3 install -I . &>> $logfile
error_check 'misp-modules installation'
sudo -u www-data misp-modules -s &> /var/log/misp_mod_logs/misp_mod_logs-`date +%Y-%m-%d:%H:%M:%S`.log &
error_check 'MISP module script'
Collecting opencv-python==4.4.0.44 (from -r REQUIREMENTS (line 56))
Downloading https://files.pythonhosted.org/packages/38/a9/cd39fd25df434b5d9451dc266c12b72f68282a2b9bd5d7b4aa2d57d6c20e/opencv-python-4.4.0.44.tar.gz (88.9MB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-j1zmyomt/opencv-python/setup.py", line 9, in <module>
import skbuild
ModuleNotFoundError: No module named 'skbuild'