인프런 커뮤니티 질문&답변

career87님의 프로필 이미지
career87

작성한 질문수

Vue.js 끝장내기 - 실무에 필요한 모든 것

NVM으로 Node.js 버전 변경 및 설치

nvm install 설치시 오류

작성

·

925

1

$ nvm install 12.13.1

Downloading https://nodejs.org/dist/v12.13.1/node-v12.13.1.tar.xz...

################################################################################################################################################################################################################### 100.0%

Computing checksum with sha256sum

Checksums matched!

$>./configure --prefix=/c/Users/노군/.nvm/versions/node/v12.13.1 <

which: no python2.7 in (/mingw64/bin:/usr/bin:/c/Users/노군/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/c/Program Files/NVIDIA Corporation/NVIDIA NGX:/c/Program Files/nodejs:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/c/Program Files/TortoiseSVN/bin:/cmd:/c/Users/노군/AppData/Local/Microsoft/WindowsApps:/c/Users/노군/AppData/Roaming/npm)

which: no python2 in (/mingw64/bin:/usr/bin:/c/Users/노군/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/c/Program Files/NVIDIA Corporation/NVIDIA NGX:/c/Program Files/nodejs:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/c/Program Files/TortoiseSVN/bin:/cmd:/c/Users/노군/AppData/Local/Microsoft/WindowsApps:/c/Users/노군/AppData/Roaming/npm)

./configure: line 3: exec: python: not found

nvm: install v12.13.1 failed!

이런식으로 노드 다른버전이 설치가 안되는데 왜그런걸까요?

답변 5

5

저는 window로 강의를 따라하고 있는데 윗분 처럼 오류가 났습니다. 

https://docs.microsoft.com/ko-kr/windows/nodejs/setup-on-windows

위의 윈도우 nvm을 설치하고

nvm 관련 명령어는 

터미널을 powershell로 변경하고 따라하고 있습니다.

0

@silqwer 배우신분,,

0

저도 같은 오류가 납니다...

어떻게 해야할까요... 

Can not determine how many core(s) are available, running in single-threaded mode.

Please report an issue on GitHub to help us make nvm run faster on your computer!

Local cache found: ${NVM_DIR}/.cache/src/node-v10.16.1/node-v10.16.1.tar.xz

Checksums match! Using existing downloaded archive ${NVM_DIR}/.cache/src/node-v10.16.1/node-v10.16.1.tar.xz

$>./configure --prefix=/c/Users/rockbell89/.nvm/versions/node/v10.16.1 <

which: no python2.7 in (/mingw64/bin:/usr/bin:/c/Users/rockbell89/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/cmd:/mingw64/bin:/usr/bin:/c/Program Files/nodejs:/c/Program Files/PuTTY:/c/Users/rockbell89/AppData/Local/Microsoft/WindowsApps:/c/Users/rockbell89/AppData/Local/Programs/Microsoft VS Code/bin:/c/Users/rockbell89/AppData/Roaming/npm:/c/Users/rockbell89/AppData/Local/GitHubDesktop/bin:%USERPROFILE%/AppData/Local/Microsoft/WindowsApps)

which: no python2 in (/mingw64/bin:/usr/bin:/c/Users/rockbell89/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/cmd:/mingw64/bin:/usr/bin:/c/Program Files/nodejs:/c/Program Files/PuTTY:/c/Users/rockbell89/AppData/Local/Microsoft/WindowsApps:/c/Users/rockbell89/AppData/Local/Programs/Microsoft VS Code/bin:/c/Users/rockbell89/AppData/Roaming/npm:/c/Users/rockbell89/AppData/Local/GitHubDesktop/bin:%USERPROFILE%/AppData/Local/Microsoft/WindowsApps)

./configure: line 3: /c/Users/rockbell89/AppData/Local/Microsoft/WindowsApps/python: Permission denied

./configure: line 3: /c/Users/rockbell89/AppData/Local/Microsoft/WindowsApps/python: Permission denied

nvm: install v10.16.1 failed!

0

저도 위에분들처럼 에러가 나네요

강사님이 찍어준 파이선 사이트가서 설치해도 똑같네요.

해결방법 있나요..

$ nvm install 10.16.1

Downloading https://nodejs.org/dist/v10.16.1/node-v10.16.1.tar.xz...

################################################################################################################################################################################################ 100.0%

Computing checksum with sha256sum

Checksums matched!

$>./configure --prefix=/c/Users/orsul/.nvm/versions/node/v10.16.1 <

which: no python2.7 in (/mingw64/bin:/usr/bin:/c/Users/orsul/bin:/d/app/orsul/product/11.2.0/dbhome_1/bin:/c/oraclexe/app/oracle/product/11.2.0/server/bin:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/ProgramData/Oracle/Java/javapath:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/c/Program Files (x86)/Yarn/bin:/cmd:/c/Program Files/Java/jdk-12.0.1/bin:/c/Users/orsul/AppData/Roaming/npm:/c/Program Files/nodejs:/c/Program Files/MySQL/MySQL Shell 8.0/bin:/c/Users/orsul/AppData/Local/Programs/Microsoft VS Code/bin:/c/Users/orsul/AppData/Local/Microsoft/WindowsApps:/c/Users/orsul/AppData/Roaming/npm)

which: no python2 in (/mingw64/bin:/usr/bin:/c/Users/orsul/bin:/d/app/orsul/product/11.2.0/dbhome_1/bin:/c/oraclexe/app/oracle/product/11.2.0/server/bin:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/ProgramData/Oracle/Java/javapath:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/c/Program Files (x86)/Yarn/bin:/cmd:/c/Program Files/Java/jdk-12.0.1/bin:/c/Users/orsul/AppData/Roaming/npm:/c/Program Files/nodejs:/c/Program Files/MySQL/MySQL Shell 8.0/bin:/c/Users/orsul/AppData/Local/Programs/Microsoft VS Code/bin:/c/Users/orsul/AppData/Local/Microsoft/WindowsApps:/c/Users/orsul/AppData/Roaming/npm)

./configure: line 3: /c/Users/orsul/AppData/Local/Microsoft/WindowsApps/python: Permission denied

./configure: line 3: /c/Users/orsul/AppData/Local/Microsoft/WindowsApps/python: Permission denied

nvm: install v10.16.1 failed!

0

안녕하세요 career87님, 에러 메시지를 보니 윈도우 환경에서 NVM과 python2와 뭔가 연관이 있는 것 같네요.. 혹시 아래 링크에서 파이썬 최신 버전을 설치하고 다시 한번 시도해보시겠어요? :)

https://www.python.org/downloads/

career87님의 프로필 이미지
career87

작성한 질문수

질문하기