Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile-cpu install libpython3.8-dev #7857

Merged
merged 2 commits into from
May 17, 2022
Merged

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.

None yet

1 participant