To install scikit-multilearn, I have tried the following commands with no luck:
conda install scikit-multilearn
or,
conda install -c condo-forge scikit-multilearn
The official website of scikit-multilearn propose using pip:
pip install scikit-multilearn
How should I install a python package when I don't find it on Anaconda repository? Would it be OK if I use pip occasionally, while my default package manager is conda?
It's fine for you to use pip along with conda. It's made to work this way. You have to be aware that not every package is on conda but only on pip. If you do conda env export > environment.yml
, you will see that there is a mix of conda packages and pip.
I eventually installed scikit-multilearn using pip:
pip install scikit-multilearn
However, I got the following import error while trying to import it:
ImportError: No module named builtins
To solve this, I upgraded the future package:
$pip install future --upgrade
Then, I successfully imported scikit-multilearn.
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