본문 바로가기

Trobleshooting9

QObject::moveToThread: Current thread (0x55c07be39a60) is not the object's thread (0x55c07c164490). Cannot move to target thread (0x55c07be39a60) python 디버깅이 안될 때 PyQT5 관련된 pip 부분을 다 지우고 실행하면 된다. 2024. 4. 10.
nvtop : 의존: libnvidia-compute-418 하지만 %s 패키지를 설치하지 않을 것입니다 E: 문제를 바로잡을 수 없습니다. 망가진 고정 패키지가 있습니다. nvtop을 설치하려 했는데 다음 에러를 내며 설치가 안 되었다. nvtop : Depends: libnvidia-compute-418 but it is not going to be installed nvtop : 의존: libnvidia-compute-418 하지만 %s 패키지를 설치하지 않을 것입니다 E: 문제를 바로잡을 수 없습니다. 망가진 고정 패키지가 있습니다. 다음과 같은 방법으로 해결가능 sudo add-apt-repository ppa:flexiondotorg/nvtop sudo apt install nvtop 해결 레퍼런스) https://github.com/Syllo/nvtop/issues/51 [Ubuntu < 22.04] apt install nvtop breaks / require.. 2023. 11. 6.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in error 해결하기 (in ubuntu docker) docker ubuntu 환경에서 cv2.imshow 하려는데 다음과 같은 오류가 나왔다. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/opt/conda/lib/python3.10/site-packages/cv2/qt/plugins" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: xcb. 해결 방법 apt-get update apt-get .. 2023. 9. 17.
ModuleNotFoundError: No module named 'pycocotools' pip install pycocotools 은 다음과 같은 에러 뿜음 ModuleNotFoundError: No module named 'pycocotools' 해결방법 conda install -c conda-forge pycocotools 2023. 9. 13.
docker pip install opencv-pyhon 설치 시 오류 해결(docker ImportError: libGL.so.1: cannot open shared object file: No such file or directory, docker ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory) +240124 추가) 이 이슈는 window wsl 도커에서 opencv 깔때 나는 오류입니다. ubuntu 환경에서는 다름.. [Issue] 도커에 opencv 사용하기 위해 다음 명령어로 설치하고 pip install opencv-python cv2를 import 하면 다음 오류가 뜬다. docker ImportError: libGL.so.1: cannot open shared object file: No such file or directory docker ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory [Solution] 다음 명령어로 두 lib 각각 깔아주자. + 240124 추가.. 2023. 8. 17.
UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor'). 텐서사이의 나눗셈을 할 때, 다음과 같은.. 2023. 1. 30.