Skip to content

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 17, 2022

Fix OpenVINO export

OpenVINO: export failure: libpython3.8.so.1.0: cannot open shared object file: No such file or directory

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Update Dockerfiles to include libpython3.8-dev package.

πŸ“Š Key Changes

  • πŸ“¦ screen package removed from Dockerfile dependencies.
  • βž• Added libpython3.8-dev to the Dockerfile for both ARM64 and CPU architectures.

🎯 Purpose & Impact

  • πŸ› οΈ The addition of libpython3.8-dev ensures that development headers and libraries for Python 3.8 are included, potentially aiding in the compilation of Python extensions or the execution of Python code that requires these resources.
  • 🧹 Removing screen might streamline the Docker image, reducing its size slightly, as it implies that a terminal multiplexer is no longer considered necessary for the container environment.
  • πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» Users running YOLOv5 in Docker containers might experience more robust Python environment setup, particularly when dealing with extension modules that require development headers.

@glenn-jocher glenn-jocher self-assigned this May 17, 2022
@glenn-jocher glenn-jocher merged commit 91c82d8 into master May 17, 2022
@glenn-jocher glenn-jocher deleted the fix/libpython38 branch May 17, 2022 13:09
tdhooghe pushed a commit to tdhooghe/yolov5 that referenced this pull request Jun 10, 2022
* Update Dockerfile-cpu install `libpython3.8-dev`

Fix OpenVINO export

* Update Dockerfile-arm64
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
* Update Dockerfile-cpu install `libpython3.8-dev`

Fix OpenVINO export

* Update Dockerfile-arm64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant