Skip to content

Error loading shared library libgomp.so.1: No such file or directory #7

Description

@allways

I use "docker run -it --rm -p 8888:8888 -v $PWD:/code smizy/scikit-learn:0.22.2.post1-alpine" to run this image locally (windows10). But when I ran "from sklearn.linear_model import LinearRegression" in Notebook for the first time, this occurred:

ImportError: Error loading shared library libgomp.so.1: No such file or directory (needed by /usr/lib/python3.8/site-packages/sklearn/utils/_openmp_helpers.cpython-38-x86_64-linux-gnu.so)

Is the libgomp not included in the alpine which here used?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions