MISP / x_old_misp_docker

MISP Docker (XME edition)
283 stars 168 forks source link

OpenCV Python Lib - Dependency Missing #94

Open itzdan opened 3 years ago

itzdan commented 3 years ago

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 commented 3 years ago

@stevengoossensB ping

stevengoossensB commented 3 years ago

You can add a pull request to fix this

itzdan commented 3 years ago

PR 97 requested

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

narly-david commented 3 years ago

Can this be closed?