On an anaconda command prompt, I get this:
(base) C:\Users\daton>python -c "import sklearn; sklearn.show_versions()"
System:
python: 3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit
(AMD64)]
executable: C:\Users\daton\anaconda3\python.exe
machine: Windows-10-10.0.19041-SP0
Python dependencies:
pip: 21.0.1
setuptools: 52.0.0.post20210125
sklearn: 0.24.1
numpy: 1.20.2
scipy: 1.6.2
Cython: 0.29.23
pandas: 1.2.4
matplotlib: 3.3.4
joblib: 1.0.1
threadpoolctl: 2.1.0
Built with OpenMP: True
On Tuesday, May 18, 2021 at 11:19:41 PM UTC-7 yfprojects wrote:
> Hello,
>
> does the following command work in the anaconda environment you installed
> `scikit-learn` in?
>
>
> - python -c "import sklearn; sklearn.show_versions()"
>
> Kind regards
> yfprojects
>
> DeTermined schrieb am Dienstag, 18. Mai 2021 um 20:20:51 UTC:
>
>> I am trying to use scikit-learn within spyder. I am using spyder 5.0.3
>> and anaconda 4.10.1. I installed scikit-learn on an anaconda prompt with
>> the following command:
>>
>> conda install -c intel scikit-learn
>>
>> I got this command from the scikit documentation. Anaconda shows that
>> version 0.24.1 of scikit-learn is installed.
>>
>> In spyder the following command:
>>
>> from sklearn.preprocessing import MinMaxScaler
>>
>> gives me "No module named 'sklearn'". What is wrong?
>>
>>
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/spyderlib/d449e156-bb65-4b9a-847d-6d58dda78c93n%40googlegroups.com.