티스토리 뷰
Python 버전을 3.8 버전으로 올린 후 Pycharm 에서 Python Console 실행 결과
.... ... File "C:\Program Files\JetBrains\PyCharm 2019.1.3\helpers\third_party\thriftpy\_shaded_thriftpy\parser\parser.py", line 765, in _fill_in_struct gen_init(cls, thrift_spec, default_spec) File "C:\Program Files\JetBrains\PyCharm 2019.1.3\helpers\third_party\thriftpy\_shaded_thriftpy\thrift.py", line 103, in gen_init cls.__init__ = init_func_generator(default_spec) File "C:\Program Files\JetBrains\PyCharm 2019.1.3\helpers\third_party\thriftpy\_shaded_thriftpy\_compat.py", line 102, in init_func_generator new_code = types.CodeType(len(varnames), TypeError: an integer is required (got type bytes) |
에러가 발생했다.
google 검색 결과 많은 결과가 Pyinstaller 와 Pycharm 간의 버전차이 결과가 많았으나 pyinstaller 를 사용하지 않고 있었기 때문에 다른 방안을 확인했다.
결론은 pycharm 버전의 문제였다.
19.3 이후 버전으로 pycharm 을 업데이트 하면 쉽게 해결된다.
'개발 > 파이썬(PYTHON)' 카테고리의 다른 글
[Python] 카카오톡 : 메시지 (3/3 - 친구에게 기본 메시지 보내기) (0) | 2020.10.15 |
---|---|
[Python] 카카오톡 : 메시지 (2/3 - 친구 목록 가져오기) (7) | 2020.10.14 |
[Python] 카카오톡 : 메시지 (1/3 - 나에게 메시지 보내기) (2) | 2020.10.10 |
PyCharm Interpreter 설정 (0) | 2020.09.30 |
Python Start~! (0) | 2020.01.06 |
- Total
- Today
- Yesterday
- cortarNo
- 단지정보
- 네이버 주식
- 파이썬
- REST API
- eum.go.kr
- pyplot
- 개발자도구
- tkinter
- 대항력있는 임차인
- 크롤링
- beautifulsoup
- pandas
- matplotlib
- 경매
- 경제적 자유
- 매물
- 아파트
- 부동산
- 크몽
- 네이버 부동산
- PYTHON
- 네이버쇼핑
- Excel
- 상가
- 평형정보
- DICTIONARY
- 네이버
- Export
- json
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |