갓토리

Can't find Python executable 본문

IT/그외

Can't find Python executable

ZungTa 2020. 11. 16. 22:38

npm을 이용해서 모듈 설치할 때 가끔 (특히 윈도우 환경에서)

`Can't find Python executable` 에러가 뜰 경우가 있다.

 

해결방법 (안되는 경우도 있음)

npm --add-python-to-path='true' --debug install --global windows-build-tools

위 명령어를 치면 시간이 좀 오래 걸린다.

 

설치가 끝난 후 해당 프로젝트에서 package-lock.josn이 있으면 제거 후 npm i 를 해본다.

'IT > 그외' 카테고리의 다른 글

Window Terminal startingDirectory 설정  (0) 2020.11.14
explore 재실행  (0) 2015.07.03
MySQL 설치 시 응답없음 오류  (1) 2015.04.27
MySQL 콘솔로 접속하기  (0) 2015.04.27
MySQL 5.5 설치하기  (1) 2015.04.27
Comments