PYTHON
python2에서 pandas 설치시 numpy에러
2018. 1. 3. 17:16
맥프레 macOS High Sierra 에는 python 2.7.10이 기본적으로 설치가 되어 있다.
여기서 pandas를 설치하려고 하면 다음과 같이 에러가 뜬다.
EPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling numpy-1.8.0rc1:
그래서 numpy를 설치하려고 하면 아래와 같이 뜬다.
Requirement already satisfied:
이것을 해결하는 방법은 numpy-1.8.0rc1을 제거하거나 이것을 업그레이드 하면 된다.
하지만 sudo pip install numpy를 해도 이미 만족한다는 메세지가 뜰뿐 변화가 없다.
그럴때는 아래와 같이 하면 제대로 진행된다.
pip install --user 'numpy >= 1.13'