No Module name 'sklearn'
See original GitHub issueWhen I forked the example repository and followed the tutorial for running the workflow. I receive an error message in the workflow that:
Traceback (most recent call last):
File "/home/runner/work/cml-example-base/cml-example-base/train.py", line 1, in <module>
from sklearn.ensemble import RandomForestClassifier
ModuleNotFoundError: No module named 'sklearn'
Thank you in advance for checking my error. I tried to implement a CI system with CML on other repositories but I encounter the same error as aforementioned.
Issue Analytics
- State:
- Created 9 months ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
ModuleNotFoundError: No module named 'sklearn'
One way to try solve the issue: you might clear your system of all other Python versions and their cached/temp files/system variables, and...
Read more >Fix ModuleNotFoundError: No module named 'sklearn'
This error indicates that the scikit-learn (aka sklearn ) package was not installed, or even if it was installed for some reason it...
Read more >ModuleNotFoundError: No module named 'sklearn' in Python
The Python "ModuleNotFoundError: No module named 'sklearn'" occurs when we forget to install the scikit-learn module before importing it or install it in...
Read more >Modulenotfounderror no module named sklearn in Python
Fix the no module named sklearn error in Python · Save your program / notebook. Invoke terminal or the command prompt. · Package...
Read more >ModuleNotFoundError: No module named sklearn, simple fix!
The error “ModuleNotFoundError: No module named sklearn" is a common error experienced by data scientists when developing in Python.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I opened the ticket https://github.com/iterative-test/cml-example-base/issues/3
Thanks for reporting!!
I’m currently using the tutorial from Youtube for building up the ML CI system.