아직 python pillow가 m1을 지원하지 않아서,
wheel을 사용해서 인스톨을 해야했다
github.com/python-pillow/Pillow/issues/5093
Unable to install Pillow on the Macbook Pro 13 M1 Silicon · Issue #5093 · python-pillow/Pillow
What did you do? I tried installing a pillow with the pipenv, I have a python version 3.9.1 installed and tried to install a pillow with that but facing this issue mentioned below. What did you exp...
github.com
의 내용을 참고했는데,
Pillow-8.0.1-cp39-cp39-macosx_11_0_arm64.whl.zip
파일을 깔고 압축 해제후
$ python3 -m pip install packaging
$ python3 -c"from packaging import tags; print('\n'.join([str(t) for t in tags.sys_tags()]))" |head -5
를 하면 tag 이름이 나오는데,
위에 해제한 파일 이름을 바꾸고
pipenv install 파일명
을 해주면 된다.
그런데 신기하게 pipenv shell 안에서의 tag 명과,
그냥 pip을 사용하기 위해서 global한 상태에서 확인한 tag명이 달랐다.
아마도,, python 버전차이인거 같은데, 정확히 뭔진 모르겠다
'기타' 카테고리의 다른 글
homebrew m1 설치 (0) | 2021.02.06 |
---|---|
맥os 명령어 메모 (0) | 2021.02.06 |