[오류Error] Failed to start project studioError invoking remote method 'up': Error: Docker not installed or not running: ExecaError: Command failed with exit code 1: which docker

2025. 4. 18. 18:21·오류Error
728x90
반응형

LangGraph를 공부하던 중 Agentic Application을 만들기 위한 IDE인 LangGraph Studio라는 서비스를 알게 되었습니다. 이 도구가 AI 에이전트 개발을 시각적으로 도와준다고 하여 설치해보기로 했습니다.

 

설치 과정

LangGraph Studio는 현재 맥북에서만 지원되는 것 같습니다. 공식 사이트에서 dmg 파일을 다운로드하여 설치했습니다.

 

첫 번째 오류: Docker 관련 문제

설치 후 실행했더니 다음과 같은 오류가 발생했습니다.

Failed to start project studio
Error invoking remote method 'up': Error: Docker not installed or not running: ExecaError: Command failed with exit code 1: which docker

 

(도커가 필요한 줄 몰랐다.. 그래서 바로 Docker 를 설치해주었다.)

해결 방법

 

Docker Desktop: The #1 Containerization Tool for Developers | Docker

Docker Desktop is collaborative containerization software for developers. Get started and download Docker Desktop today on Mac, Windows, or Linux.

www.docker.com

 

  1. Docker 설치 확인하기 Docker가 설치되어 있지 않다면, Docker 공식 사이트에서 운영체제에 맞는 Docker Desktop을 다운로드하여 설치한다.
  2. Docker 실행 확인하기 Docker Desktop을 실행하고, 상태 표시기(시스템 트레이/메뉴바)에서 Docker가 실행 중인지 확인한다.
  3. Docker 버전 확인하기 LangGraph Studio는 Docker Compose 버전 2.22.0 이상을 요구합니다. 터미널에서 docker-compose --version 명령으로 버전을 확인하고, 필요시 업데이트한다.

 

두 번째 오류: .env 파일 문제

Docker를 설치하고 실행한 후 LangGraph Studio를 다시 시작했더니 오류 메시지가 바뀌었다.

Failed to start project studio
Error invoking remote method 'up': Error: Could not read env file: /Users/path/to/project/studio/.env

LangGraph Studio가 API 키와 같은 환경 변수를 담고 있는 .env 파일을 찾을 수 없어서 발생한 문제였습니다.

 

해결 방법

다행히 제가 사용하려던 프로젝트 폴더에는 .env.example 파일이 이미 존재했습니다. 이 파일은 필요한 환경 변수의 템플릿 역할을 합니다.

1. .env.example 파일을 .env 파일로 복사해주었습니다.

cp /path/to/project/studio/.env.example /path/to/project/studio/.env

 

2. 텍스트 에디터로 .env 파일을 열고 OpenAI API 키를 입력했습니다.

OPENAI_API_KEY=sk-my_api_key_here

 

 

LangGraph Studio를 재시작했더니 드디어 정상적으로 로드 성공!

728x90
반응형
저작자표시 (새창열림)

'오류Error' 카테고리의 다른 글

[오류Error] RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-erro  (0) 2025.06.10
[오류Error] VS Code Remote-SSH: "원격 호스트가 VS Code Server를 실행하기 위한 필수 구성 요소를 충족하지 않습니다" 오류 해결 후기  (7) 2025.04.11
[오류Error] Resource punkt_tab not found. Please use the NLTK Downloader to obtain the resource:  (0) 2024.11.22
[오류Error] FileNotFoundError: [Errno 2] JVM DLL not found: /Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/lib/jli/libjli.dylib"  (1) 2024.11.15
[오류Error] RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same  (0) 2024.04.17
'오류Error' 카테고리의 다른 글
  • [오류Error] RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-erro
  • [오류Error] VS Code Remote-SSH: "원격 호스트가 VS Code Server를 실행하기 위한 필수 구성 요소를 충족하지 않습니다" 오류 해결 후기
  • [오류Error] Resource punkt_tab not found. Please use the NLTK Downloader to obtain the resource:
  • [오류Error] FileNotFoundError: [Errno 2] JVM DLL not found: /Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/lib/jli/libjli.dylib"
ISFP의 블로그
ISFP의 블로그
이건 첫 번째 레슨, 업무에서 마주친 문제 해결 경험 공유하기 이건 두 번째 레슨, 개인적으로 공부한 데이터/AI 지식을 기록하기 이건 세 번째 레슨, 다른 사람과 비교하지 말고 오직 어제의 나와 비교하기
  • ISFP의 블로그
    resultofeffort
    ISFP의 블로그
  • 전체
    오늘
    어제
    • 분류 전체보기 (117)
      • python (25)
      • pythonML (27)
      • Linux (0)
      • 오류Error (8)
      • information (7)
      • Deep learning (5)
      • pytorch (29)
      • 코딩테스트 (4)
      • 밑바닥 DL (4)
      • 논문 리뷰 (3)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    머신러닝
    Python
    machinelearning
    딥러닝
    Pandas
    데이터분석
    티스토리챌린지
    자연어처리
    Ai
    텍스트전처리
    konlpy
    pytorch
    분류
    인공지능
    Deep Learning
    오블완
    cnn
    토큰화
    deeplearning
    nlp
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.5
ISFP의 블로그
[오류Error] Failed to start project studioError invoking remote method 'up': Error: Docker not installed or not running: ExecaError: Command failed with exit code 1: which docker
상단으로

티스토리툴바