x_old_misp_docker icon indicating copy to clipboard operation
x_old_misp_docker copied to clipboard

OpenCV Python Lib - Dependency Missing

Open itzdan opened this issue 5 years ago • 4 comments

Following was experienced during building of docker MISP inside ubuntu/bionic.

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-fcrux1i_/opencv-python/setup.py", line 9, in <module>
        import skbuild
    ModuleNotFoundError: No module named 'skbuild'

After some troubleshooting, adding the following resolves this missing dependency;

pip3 install --upgrade pip setuptools wheel && \
pip3 install scikit-build && \    
pip3 install opencv-python && \ 

itzdan avatar Nov 05 '20 08:11 itzdan

@stevengoossensB ping

itzdan avatar Nov 08 '20 22:11 itzdan

You can add a pull request to fix this

stevengoossensB avatar Nov 09 '20 08:11 stevengoossensB

PR 97 requested

https://github.com/MISP/misp-docker/pull/97

itzdan avatar Nov 22 '20 01:11 itzdan

Can this be closed?

narly-david avatar Jul 01 '21 17:07 narly-david