pip install "package이름" 명령어로 다양한 python 패키지를 인스톨 할 수 있다.



pip install numpy scipy 



혹시 Permission denied 에러가 난다면,


sudo pip install numpy


를 이용한다.



이 때 다음과 같은 에러가 발생한다면, 

Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.


Could not install packages due to an EnvironmentError: [Errno 1] Operation not permitted: '/System/Library/Frameworks/Python.framework/Versions/2.7/man'


sudo pip install matplotlib --upgrade --ignore-installed six


업그레이드를 동시에 진행하는 것으로 해결한다. 

tables 3.4.4 has requirement numpy>=1.8.0, but you'll have numpy 1.8.0rc1 which is incompatible.


tables 는 NumPy 버전 1.8 이상을 요구하므로, 혹시 버전이 낮다면, 


sudo pip install numpy --upgrade 


이후, 


sudo pip install tables




나머지 패키지도 인스톨


pip install pysam intervaltree biopython pyBigWig



반응형

+ Recent posts