!pip install --upgrade setuptools
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This datascience 0.10.6 requres folium==0.2.1, but you have folium 0.8.3 which is incompatible.
WARNING: The following packages were previously imported in this runtime:
[pkg_recources]
You must restart the runtime in order to use newly installed versions.
이렇게 warning이 뜨는데 에러가 아니니 무시하지 말고 런타임 재시작 버튼(RESTART RUNTIME)을 눌러 재시작한다
그러면 처음 맨 위에서 부터 코드를 다시 다 실행시켜줘야한다.
!apt-get remove swig
!apt-get install swig3.0 build-essential -y
!ln -s /usr/bin/swig3.0 /usr/bin/swig
!apt-get install build-essential
!pip install auto-sklearn
이걸 하면 위와 같이 또 런타임 재시작을 한다.
마찬가지로 맨 위에서 부터 다시 코드를 실행한다
!pip install --upgrade scikit-learn
!pip install scikit-learn==0.24.2
import sklearn
print('The scikit-learn version is {}.'.format(sklearn.__version__))
2021/7 기준 0.24.2가 최신이다 각각 맞게 사용하면 될 것 같다
설치 끝