When I try to import scikit-learn in python, I get a segmentation fault
>>>import sklearn as sk
Segmentation fault (core dumped)
How do I fix this? I am running python 2.7.11 on Fedora. I installed sklearn using pip I tried the same using Anaconda on a virtual environment, with the same results.
The same problem doesn't occur on Ubuntu 16, which I ended up installing and using for my purposes.
Do you have to use pip? Take a look at the anaconda method
conda install scikit-learn
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With