본문 바로가기

에러tlqkf!!!!!

(10)
[gitlab] port 22: Connection timed outfatal: Could not read from remote repository 박살내기 오랜만에 당차게 인사드립니다!! 는 기운이 너무 없군용.  바로 본문으로 넘어가겠습니다. 무슨 오류임? 이것은 gitlab의 프로젝트를 clone하려는 자의 몸부림의 실패의 증거입니다.   팀 gitlab에 초대받아. ssh를 등록하고, git clone + 프로젝트 ssh를 했는데 웬걸??  해결법 1- /.ssh/config에 정보 추가 많은 블로그들이 이케 하라 함. Host github.com HostName ssh.github.com User git port 443  당연히 안 됨. (쓰면서 알았는데, github할 게 아니라 gitlab으로 했어야 됐음;;) 해결법 2- /.ssh/known_hosts에 정보 추가  chatGPT가 이케 해보라 함. ssh 클라이언트가 gitl..
나도 좀 써보자 py-hanspell. 고난의 연속. KeyError:'result'의 저주 안녕하세요 일단 설치부터 합시다 git clone https://github.com/ssut/py-hanspell cd py-hanspell python setup.py install 만약 깔았는데 no-module이라 뜬다? 그럼 커널 재연결하시면 됩니다. 그럼 이런 에러가 뜹니다. 해결방법? https://github.com/ssut/py-hanspell/issues/41 py-hanspell spell_checker.check 사용 시 KeyError: 'result' · Issue #41 · ssut/py-hanspell 안녕하세요. chec = spell_checker.check() 사용 시 KeyError: 'result'가 반환됩니다. hanspell\spell_checker.py 내 lin..
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa6 in position 10: invalid start byte 문제 상황 csv 파일을 못 읽어옴. import pandas as pd dataPath = "./reviewData.xlsx" data = pd.read_csv(dataPath) data 에러 import pandas as pd dataPath = "./reviewData.xlsx" data = pd.read_csv(dataPath, encoding="euc-kr") data 한글 인코딩 세형제 다 했는데 안 되더라고요? 해결 코드 보시면 알겠지만, csv가 아니라 xlsx를 사용했습니다. csv의 c가 comma라는 의미래요. 즉, csv는 ,로 구분되는 텍스트 파일이지만, xlsx는 엑셀 수식까지 들어간 이진 파일이라는 말이죠. 그래서 xlsx를 csv로 변환해서 다시 하니까 됐습니다. https:..
DEPRECATION: pyodbc 4.0.0-unsupported has a non-standard version number. pip 24.0 will enforce this behaviour change 안녕하세요.. 에러 DEPRECATION: pyodbc 4.0.0-unsupported has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of pyodbc or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063 keras 설치하려는데 이딴 에러가 떴어요. 해결 방법 pip insta..
[pytorch] PermissionError: [Errno 13] 아니 진짜 permission deny 안했다니까요??? 인사는 생략한다 뮨제상황과 트러블 슈팅 pytorch에서 dataloader 안을 음침하게 들여다 볼라 했다니, 무슨 permission deny이래요;;; 아니 보여달라고요.. 전 pytorch를 이번에 처음해봐서 dataloader를 읽는데 접근 권한이 필요한지도 몰랐어요. 그렇다면 접근권한 허용 코드!!! 흥!! 어림도 없지!!!!! 유희왕 하는 것도 아니고 승질 나 죽겠어요;;; 해결방법 https://stackoverflow.com/questions/68967257/permissionerror-errno-13-permission-denied-python PermissionError: [Errno 13] Permission denied: Python I have a script that is ca..
[python] Canceled future for execute_request message before replies were doneThe Kernel.... 에러를 해결해보자 나와쪄. 구글링을 해보니까 tensorflow 설치할 때 많이 나는 에러 같다. Canceled future for execute_request message before replies were done The Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click here for more info. View Jupyter log for further details. 나는 텐서플로우 설치 안 했는데 이 에러가 났다? 이거 보세요. 저는 재귀함수를 잘못써서 자기 ..
[리눅스] vim 파일 수정 에러 "hosts" E212: Can't open file for writing 나와쪄... 문제상황 vim hosts 를 하고 hosts 파일에 hostname을 추가하고 esc+":"+wq 명령어를 썼더니 안 됨 시도한 명령어 $ wq % !wq $ wq! $ W !sudo tee % > /dev/null $ w !chomd 777 % 이외에도 root로 열었는데 권한이 없는걸까.. 이 생각에 권한 부여도 해봤었다.(당연히 안 됨) 발생한 에러들 1. 그냥 wq했더니 readonly라고 뜸 2. 다른 거 3. 4. 해결 sudo로 들어가세요!! 도움을 주신 songusiki 감사합니다! 끗~
[리눅스] 우분투 훌쩍.. 네트워크 외 안 돼여.. Temporary failure resolving 'kr.archive.ubuntu.com' 나..와...쪄.... 문제상황 ip 설정한 것을 보기위해 ifconfig를 사용하기 위해서는 net-tools를 다운 받아야 함. 고난 많은 블로그들이 아래 경로에다가 nameserver 8.8.8.8, 8.8.4.4를 추가하라고 했지만 나의 경우 저 경로에 파일이 없거나 수정이 안 됐음.. /etc/network/interfaces /etc/resolv.conf 겨우겨우 설정했지만 안 됨. 해결 주의 일단 상단바에 네트워크가 이따구로 생긴 사람만 시도해볼 것! 1. (저거 뭐라고 하는지 모르겠음) 저기 클릭 2. 네트워크 설정으로 들어갈게요(아래 사진 참고해서 따라와주세요) 3. 첫번째 ethernet (enp0s3)의 톱니바퀴를 눌러줍니다 만약에 창이 이렇게 뜨는 사람들만 해당되는 해결법임!!! 4..