Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

No module named 'sklearn' #97

Description

@dmitrii-erkin

Hello,

Despite having sklearn installed:

=> => # Downloading sklearn-0.0.post1.tar.gz (3.6 kB)
=> => # Preparing metadata (setup.py): started
=> => # Preparing metadata (setup.py): finished with status 'done'
=> => # Collecting scipy
=> => # Downloading https://d1yxz45j0ypngg.cloudfront.net/scipy-1.8.1-nogil39-nogil_39b_x86_64_linux_gnu-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (110
=> => # .5 MB)

I observe the following issue when I try to run my docker image:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 218, in locate_app
import(module_name)
...
from sklearn.cluster import KMeans
ModuleNotFoundError: No module named 'sklearn'

Could it be because I am using flask?

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