본문 바로가기

반응형

분류 전체보기

(130)
[오류 해결] codex cli login 무한 로딩 문제 / 창 하나만 띄우기 오류: codex cli login 이 안 끝남 Starting local login server ... or navigate to URL https://auth.openai.com/oauth/authorize?response_type= codex login 명령어를 치고 URL를 따라 들어가 계정 로그인을 진행했다 하지만 계정 로그인이 멈추지 않고 계속 로딩만 하는 것으로 보인다 해결: vscode server 창 하나만 띄우기 vscode window를 여러개 띄우고 있었는데 창을 딱 하나만 띄워지도록 했더니 해결됐다. port가 잘못 로딩될 때 생기는 문제라고 하는데, 그냥 oauth를 요청한 창 하나만 띄우면 해결됐다. Succesfully logged in이 뜨면서 잘 해..
[오류 해결] 클로드 vscode에서 계정 전환이 안되는 오류 / 해결: claude.json 수정 [오류] 클로드 이메일 계정이 안 바뀜 클로드 계정을 변경하려고 했는데 업데이트가 안되는 문제가 있었다 Send 버튼 옆에 있는 '/' 에서 Switch Account로 다시 로그인하거나, /login 명령어로 로그인을 해도 업데이트가 안됐다 USAGE는 바뀌는 걸 보면 업데이트 되는 것 같은데 이메일이 없데이트가 안됐다 해결: ~/.claude.json이라는 세팅파일 수정 vi ~/.claude.jsonclaude를 처음 설치할때 생기는 ~/.claude.json에서 vi ~/.claude.json으로 들어간 후 oauthAccount: {} 를 통째로 삭제한다 위의 파일에 들어가서 확인해보면 oauthAccount는 예전 이메일로 업데이트되어있다 삭제 후 아까 방법들인 Swi..
[오류 해결] Client not supported Bad request / code restart 오류: Client not support 에러 Reason: client not supported: bad request: the specified API version is no longer supported. You may need to update your client to a newer version. vscode에서 copilot을 사용하려고 하니 위와 같은 Bad Request에러가 났다 vscode에서 github sign out하고 다시 로그인을 진행했어도 오류가 해결이 안됐다 해결: > Code: restart to update copilot에서 client model을 추가하는 등의 패치 업데이트가 진행되면 흔히 생기는 에러라고 한다. 이런 경우 vscode를 아예 rest..
[설치] Windows에서 wsl2 설치하기 / python-is-python3 WSL2 설치하는 방법 1. windows 기능 켜기 Linux 용 Windows 하위 시스템을 활성화줘야 한다. dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestartdism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart두 명령어를 차례대로 입력한다 (차례대로 Linux용 하위시스템 활성화, 가상머신 플랫폼 옵션 기능 활성화) 그 외에도 Windows 기능 켜기/끄기 창을 활용해서 킬 수 있다. Windows 검색 > 프로그램 및 기능 > 'Windows 기능 켜기/끄기' 검색 또는 ..
[에러 해결] Value error, The checkpoint you are trying to load has model type `gpt_oss` but Transformers does not recognize this architecture. 에러 : Value error, The checkpoint you are trying to load has model type `gpt_oss` but Transformers does not recognize this architecture. ValueError: 'aimv2' is already used by a Transformers config, pick another name.ValueError: 'aimv2' is already used by a Transformers config, pick another name. 처음 vllm serve를 했을 때 aimv2 already used error가 떴었다 이를 해결하기 위해 transformers를 4.57.3에서 4.54.0으로 다운그레..
[코드] ollama serve 통해 오픈소스 모델 실행하기 Ollama 오픈소스 모델 사용법 gpt-oss, gemma 등 오픈소스 모델을 돌리고 싶었다ollama를 설치해서 하는 법을 찾았다 ollama serve # 1. Ollama 설치curl -fsSL https://ollama.com/install.sh | sh# 2. 서버 시작 (별도 터미널)ollama serve# 3. 모델 다운로드ollama pull gpt-oss:20b# 4. Python 패키지 설치pip install ollama python-dotenv pydantic tqdm 아래 순서대로 명령어를 치면 된다. # 1. Ollama 설치 curl -fsSL https://ollama.com/install.sh | sh # 2. 서버 시작 (별도 터미널) ollama serv..
[에러 해결] Config Assertion Error / pip install transformers==4.40.1 에러 발생: Config Assertion Error: config has to be initialized.. Config assertion error in transformerFile "/root/miniconda3/envs/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3916, in save_pretrained misplaced_generation_parameters = model_to_save.config._get_non_default_generation_parameters()assert "encoder" in kwargs, "Config has to be initialized with encoder config" As..
[오류 해결] ubuntu 에 open-jdk 17 설치 도중 404 not found error 해결 / sources list 바꾸기 오류: ubuntun openjdk 17 설치 도중 에러 E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-17/openjdk-17-jdk-headless_17.0.7+7~us1-0ubunt 404 Not Found [IP: ] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-17/openjdk-17-jdk_17.0.7+7~us1-0ubunt 404 Not Found E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ubu..
git repo initial commit / git remote add origin …or create a new repository on the command line echo "# GITREPO" >> README.mdgit initgit add README.mdgit commit -m "first commit"git branch -M maingit remote add origin https://github.com/user/gitreponame.gitgit push -u origin mainecho "# GITREPO" >> README.mdgit initgit add README.mdgit commit -m "first commit"git branch -M maingit remote add origin https://github.com/user/gitreponame.gitgit p..
[오류 해결] permission denied for schema public error / GRANT ALL ON SCHEMA 오류: permission denied for schema public error sqlalchemy.exc.ProgrammingError: (psycopg2.errors.InsufficientPrivilege) permission denied for schema publicLINE 2: CREATE TABLE alembic_version ( ^[SQL: CREATE TABLE alembic_version ( version_num VARCHAR(32) NOT NULL, CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num))](Background on this error at: https://sq..

반응형