티스토리 뷰
#빅데이터 시각화 #많이 사용된 단어를 크게 시각화 #wordcloud
ImportError Traceback (most recent call last)
Input In [38], in <cell line: 3>()
1 #너비, 높이는 픽셀
2 wc = WordCloud(width=1000, height=600, background_color="white", random_state=0)
----> 3 plt.imshow(wc.generate_from_frequencies(fd_names))
4 plt.axis("off") #축 없이
5 plt.show()
ImportError: The _imagingft C module is not installed
from wordcloud import WordCloud
#너비, 높이는 픽셀
wc = WordCloud(width=1000, height=600, background_color="white", random_state=0)
plt.imshow(wc.generate_from_frequencies(fd_names))
plt.axis("off") #축 없이
plt.show()
워드 클라우드 하려는데 안 됨.
버전이 안 맞아서 그런 것. 버전 업그레이드(각 버전마다 해결 방법이 다를 수 있음)
【 해결방법 】
-> 관리자 권한 CMD
| >>pip install pillow --upgrade |
'ERROR > SQL' 카테고리의 다른 글
| [pythons]AttributeError: 'NoneType' object has no attribute 'split' (0) | 2022.06.30 |
|---|---|
| [python]AttributeError: 'Tensor' object has no attribute 'numpy' (0) | 2022.06.17 |
| Please use the NLTK Downloader to obtain the resource: (0) | 2022.06.14 |
| [CredentialHelperSelector]깃허브에 올리려고 할 때, (0) | 2022.04.28 |
| [AndroidStudio]System UI isn't responding (0) | 2022.04.19 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- A%B
- scanner
- html base tag
- html pre
- CascadingStyleSheet
- 변수
- css
- border-spacing
- Java
- 스크립태그
- html layout
- caption-side
- 미디어 태그
- selcetor
- ScriptTag
- html input type
- html atrribute
- improt
- 기본선택자
- html
- BAEKJOON
- html a tag
- input type 종류
- 외부구성요소
- JavaScript
- text formatting
- empty-cell
- 입력양식
- initialized
- typeof
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함