본문 바로가기

공부/오류노트모음

[오류노트]python

반응형
TypeError: arguments did not match any overloaded call:
  insertItem(self, int, str, userData: Any = None): argument 2 has unexpected type 'list'
  insertItem(self, int, QIcon, str, userData: Any = None): argument 2 has unexpected type 'list'
insertItem ->insertItems

insertItem 의 복수 형태인 insertItems S를 붙여야한다.
pyinstaller failed to execute script

pyinstaller 를 이용하여 exe 으로 변환할때
저 오류 메세지가 뜸
pynput 를 import 했을 경우 최신 버전 였을 경우 충돌 때문인지 오류가 뜸

해결 방안 으로는 import를 주석 처리 하던지
아니면 버전을 다운그레이 하면 된다.

pip uninstall pynput
pip install pynput==
1.6.8

출처
고졸 입니다만.. (tistory.com)

무한 scanning installed packages pycharm



Invalidate Caches /Restart
누르면 해결 된다.
파이참 주석 단축키 안될 때
컨트롤 + 시프트 누르면 micro 입력기가 바뀌면서 단축기가 적용됨
반응형

'공부 > 오류노트모음' 카테고리의 다른 글

[STM32CubeIDE] 오류 노트  (0) 2022.04.21
[오류노트] stm32f1  (0) 2021.10.13
[오류노트] stm32f4  (0) 2020.05.28