Python/ERROR LOG
-
Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvWaitKey' 위와 같은 에러가 나타난다면 아래의 명령어를 입력해보세요. SOLUTION sudo apt install libgtk2.0-dev pkg-config pip uninstall opencv-python-headless pip uninstall opencv-python pip install opencv-python
Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvWaitKey'Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvWaitKey' 위와 같은 에러가 나타난다면 아래의 명령어를 입력해보세요. SOLUTION sudo apt install libgtk2.0-dev pkg-config pip uninstall opencv-python-headless pip uninstall opencv-python pip install opencv-python
2024.01.18 -
Ubuntu에서 아나콘다 설치 후 environment create시 아래처럼 에러가 난다면 Collecting package metadata (current_repodata.json): failed NotWritableError: The current user does not have write permissions to a required path. path: /home/user/anaconda3/pkgs/cache/9e0f62c3.json uid: 1000 gid: 1000 If you feel that permissions on this path are set incorrectly, you can manually change them by executing $ sudo chown 1000:1000..
NotWritableError: The current user does not have write permissions to a required path.Ubuntu에서 아나콘다 설치 후 environment create시 아래처럼 에러가 난다면 Collecting package metadata (current_repodata.json): failed NotWritableError: The current user does not have write permissions to a required path. path: /home/user/anaconda3/pkgs/cache/9e0f62c3.json uid: 1000 gid: 1000 If you feel that permissions on this path are set incorrectly, you can manually change them by executing $ sudo chown 1000:1000..
2024.01.08 -
"IndexError: 빈 deque에서 팝 작업" 오류는 비어있는 deque (더블 엔디드 큐)에서 요소를 제거하려고 할 때 발생합니다. deque는 양쪽 끝에서 요소를 효율적으로 삽입하고 삭제할 수 있는 데이터 구조입니다. 그러나 비어있는 deque에서 요소를 팝하려고 하면 요소가 없기 때문에 IndexError가 발생합니다. 다음은 이 오류가 발생할 수 있는 예입니다. from collections import deque my_deque = deque() # 비어있는 deque에서 요소를 팝하려고 시도 popped_element = my_deque.pop() 이 오류를 피하려면 팝 작업을 수행하기 전에 deque에 요소가 있는지 확인해야 합니다. len() 함수를 사용하여 deque가 비어있지 않은..
IndexError: pop from an empty deque"IndexError: 빈 deque에서 팝 작업" 오류는 비어있는 deque (더블 엔디드 큐)에서 요소를 제거하려고 할 때 발생합니다. deque는 양쪽 끝에서 요소를 효율적으로 삽입하고 삭제할 수 있는 데이터 구조입니다. 그러나 비어있는 deque에서 요소를 팝하려고 하면 요소가 없기 때문에 IndexError가 발생합니다. 다음은 이 오류가 발생할 수 있는 예입니다. from collections import deque my_deque = deque() # 비어있는 deque에서 요소를 팝하려고 시도 popped_element = my_deque.pop() 이 오류를 피하려면 팝 작업을 수행하기 전에 deque에 요소가 있는지 확인해야 합니다. len() 함수를 사용하여 deque가 비어있지 않은..
2023.09.01 -
이거 한번 시도해보세요😊 pip uninstall uvicorn pip install 'uvicorn[standard]'
WARNING: No supported WebSocket library detected. Please use 'pip install uvicorn[standard]', or install 'websockets' or 'wsproto' manually.이거 한번 시도해보세요😊 pip uninstall uvicorn pip install 'uvicorn[standard]'
2023.03.07