I have the following problem. I have updated sklearn using pip install --upgrade sklearn
. I can see that my sklearn is up to date, that is version 0.23.2
.
But when I check it in Spyder using:
import sklearn
print(sklearn.__version__)
I get an output of 0.19.2. My numpy and scipy are also up to date. How can I fix this problem?
seems like sypder is running on a different version of python please try
pip3 install --upgrade sklearn
maybe base python on your system is python2
while the one that came with anaconda is 3.8 or higher
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.