Posts

Showing posts with the label 오류

[Ubuntu Server LTS 18.04] unable to correct problems you have held broken packages 에러 (nvidia driver)

휴.. 진짜ㅠㅠ 짜즁나.. 겨우 됐다. $ sudo dpkg --configure -a && sudo apt update --fix-missing && sudo apt install -f && sudo apt full-upgrade 하고 reboot 해준 후 $ sudo ubuntu-drivers autoinstall 하면 바로 고쳐짐... 요즘 스택오버플로우가 나한테 도움을 안준다.. 참조 : https://itectec.com/ubuntu/ubuntu-cant-install-nvidia-driver-430-on-ubuntu-18-04-dell-inspiron-15-5000-gaming-duplicate/

[Ubuntu Server LTS 18.04] "Could not acquire name on session bus" 에러 (feat. xrdp, mate)

리눅스를 거의 처음 접해보는데 이걸 서버로 만들어야해서 엄청난 고생을 하고있다.. GUI버전으로 만들어서 원격접속을 가능하게 해야하는데 이걸 또 어떻게 하지? 구글링 구글링.. 이것저것 깔고 지우고 붙이고 떼고 포멧하고 다시깔고 우여곡절.. 사실 다른사람들은 엄청 쉽게 바로바로 하는거같은데 나만 삽질하느라 이렇게 힘든거같다.. 내가 다운받은 프로그램은 xrdp, xorgxrdp, mate 이고 얘네를 아래 명령어를 차례대로 써서 받았다. $ sudo apt-get install xrdp $ sudo apt-get install -y xorgxrdp $ sudo apt-get install taskesel $ sudo apt-get update $ sudo tasksel install ubuntu-mate-desktop $ sudo apt-get update $ sudo apt-get install mate-core mate-desktop-environment mate-notification-daemon $ sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n mate-session \n' /etc/xrdp/startwm.sh $ service xrdp restart $ sudo reboot 요렇게 해서 윈도우 원격접속을 했눈뎁... 오지게 떠버리는 " Could not acquire name on session bus " !!!!!!!!!!!!!!!!(나쁜말 심한말)!!!!!!!!!!!!!!!! 구글링 중간중간 나오던 솔루션 /etc/xrdp/startwm.sh 파일 맨 밑에 test -x /etc/X11/Xsession && exec /etc/X11/Xsession exec /bin/sh /etc/X11/Xsession 얘네를 #으로 주석처리하고, unset DBUS_SESSION_BUS_ADDRESS exec mate-session 얘네를 붙이라는 글이 ...

[Python/Anaconda3/QT 오류] This application failed to start because it could not find or load the Qt platform plugin "windows"

하ㅠㅠ 별.. 진짜.. 너무 짜증..ㅠㅠ 갑자기 spyder가 안켜져서 anaconda prompt로 이것저것 해봤는데 pip install pyside가 안됐다. 또 한참 찾아보니 파이썬 3.5 이상이면 pyside2 를 받으면 된다고한다. 그래서 받았는데 또 안돼! 대신 오류메시지가 달라졌다. This application failed to start because it could not find or load the Qt platform plugin "windows 기타등등" Reinstalling the application may fix this problem. 정말 엄청난 구글링과 이짓저짓..      QT_어쩌고 하는 환경변수도 설정해보고 했는데 다 안되고 얘가 됐다 흑흑흑흑....흑흑..... 진짜 힘들다.. 내가 2년 전에 데이터사이언스 연습해본다고 받았던 파이썬과 오늘 Anaconda3 받으면서 같이 받아지는 파이썬 버전이 다른데 받아지면서 수정이 덜 됐었나보다. Anaconda3\Library\plugins\platforms 안의 dll파일들 마지막 수정일이 2년 전이었다. 그래서 아까 새로 받은  pyside2의 dll파일을 복사해서 붙여넣었더니 해결됐다 ㅠㅠ 흑흑흑 힘들었다..   If you are running PyQt5 and PySide2, this solved the problem for me: Copy the following files: \Anaconda3\Lib\site-packages\PySide2\plugins\platforms\qminimal.dll \Anaconda3\Lib\site-packages\PySide2\plugins\platforms\qoffscreen.dll \Anaconda3\Lib\site-packages\PySide2\plugins\platforms\qwindows.dll to: \Anaconda3\Library\plugins\platforms\ https...