본문 바로가기
Error_극복하기

Anaconda 아나콘다 navigator 실행되지 않는 Error

by ADELA_J 2024. 1. 11.

 

잘되던 jupyter가 갑자기 실행되지 않았다....

그래서 아나콘다 navigator를 실행해봤더니 이 또한 되지 않았다...

한 두번을 삭제했다 다시 설치했음에도 되지 않더라 흑흑 

 

그래도 해결하긴했음!!!!

 

방법 1. 아나콘다의 공식 홈페이지에 들어가보자
 
https://docs.anaconda.com/free/navigator/troubleshooting/

 

Troubleshooting — Anaconda documentation

Set logged_api_url, anaconda_server_token, and anaconda_server_token_id in the Navigator config file (anaconda-navigator.ini) to None. Note The token and token ID config variable names have been updated from team_edition_token to anaconda_server_token and

docs.anaconda.com

 

우선, Navigator error on start up 을 따라해봤지만 되지 않았다.

그래서 밑에 Issues launching or initializing 도 따라 해봤지만 이 또한 되지 않았다.

아니 인간적으로 terminal 에서 안되는건 반칙 아닌가 

 

그리고 이러한 error 메세지를 발견하게 되는데...

pydantic.errors.PydanticImportError: BaseSettings has been moved to the pydantic-settings package. 

 

그래서 해결한 방법

 

1. cmd를 실행시켜서 pip install pydantic-setting 실행한다.

2. 아나콘다 경로 구성 파일을 확인한다 

  ▼ 대부분 아래 경로에 있다. 

      ▶  C:\Users\사용자아이디\anaconda3\Lib\site-packages\anaconda_cloud_auth    

3. config.py 를 킨다!

4. line 8에 있는   from pydantic import BaseSettings   

from pydantic_settings import BaseSettings  으로 수정한다.
 
빨간줄 떠도 그냥 무시하자
 
그리고 저장후 다시 켜보니
네 실행되었슴다~~~!!!
 
 
라고 생각했었지만 또 다른 나의 시련이 기다리고 있었으니,,,,
바로,,,쥬피터가 실행이 되지 않아,,,,,😭