Python isort

steadycode·2023년 2월 3일
0

vscode 사용 중, python import 가 정상적으로 작동하지 않는 것을 확인.


다음과 같이 색칠이 되지 않고, ctrl + clk 에도 library source code 로 이동하지 않는 문제 발생.

확인해보니, 다음과 같은 문제가 있었음

문제점들

  • isort extension 문제
Cannot activate the 'isort' extension because it depends on the 'Python' extension, which is not loaded. Would you like to reload the window to load the extension?

위 문제점이 발생해서 reload 했지만 여전히 문제가 해결되지 않았음. 오히려 원래 있었던 python extension 이 불투명하게 바뀌는 현상 발생.

  • vscode update 문제
Restart Visual Studio Code to apply the latest update.

업데이트에 문제가 있나 하여 업데이트 이후 다시 재시작을 함.

그랬더니 위와 같이 pylance installing.. 과 함께 다시 python과 pylance 색깔이 돌아옴.

그 이후 reload required 클릭 했더니 다시 정상적으로 작동을 함.

한편, 다시 extension 을 확인했더니 모두 불투명색.

profile
steadycode

0개의 댓글