Import "requests" could not be resolved from sourcePylance 에러 해결

하스레·2022년 5월 23일
0

pip install requests 를 통해 성공적으로 설치를 마쳤음에도 위와 같은 에러가 나오는 경우, 파이썬이 여러 버전이 설치되어 있어 다른 버전의 파이썬에 requests 라이브러리가 설치되었을 가능성이 있다.

해결 방법

vscode 하단의 파이썬 버전 부분을 클릭하여 다른 버전의 Interpreter을 선택한다.


https://www.inflearn.com/questions/388018

profile
Software Developer

0개의 댓글