티스토리 뷰

반응형

Stack Overflow에 자주 검색, 등록되는 문제들과 제가 개발 중 찾아 본 문제들 중에서 나중에도 찾아 볼 것 같은 문제들을 정리하고 있습니다.

Stack Overflow에서 가장 먼저 확인하게 되는 가장 높은 점수를 받은 Solution과 현 시점에 도움이 될 수 있는 가장 최근에 업데이트(최소 점수 확보)된 Solution을 각각 정리하였습니다.

 

아래 word cloud를 통해 이번 포스팅의 주요 키워드를 미리 확인하세요.

Error "Import Error: No module named numpy" on Windows

Windows에서 "가져오기 오류: numpy라는 이름의 모듈이 없습니다" 오류가 발생했습니다.

 문제 내용 

I have a very similar question to this question, but I am still one step behind. I have only one version of Python 3 installed on my Windows 7 (sorry) 64-bit system.

나는 이 질문과 매우 유사한 질문이 있지만, 아직도 한 발 늦었습니다. Windows 7(죄송합니다) 64비트 시스템에 설치된 파이썬 3 버전은 하나뿐입니다.

 

I installed NumPy following this link - as suggested in the question. The installation went fine but when I execute

질문에 제시된 바와 같이 이 링크를 따라 NumPy를 설치했습니다. 설치는 잘 되었지만 실행을 해보니

 

import numpy

I got the following error:

다음 오류가 발생했습니다.

 

Import error: No module named numpy

가져오기 오류: numpy라는 모듈이 없습니다.

 

 

 

 높은 점수를 받은 Solution 

You can simply use

간단하게 사용할 수 있습니다.

 

pip install numpy

Or for python3, use

또는 python3의 경우,

 

pip3 install numpy

 

 

 가장 최근 달린 Solution 

For me, on windows 10, I had unknowingly installed multiple python versions (One from PyCharm IDE and another from Windows store). I uninstalled the one from windows Store and just to be thorough, uninstalled numpy pip uninstall numpy and then installed it again pip install numpy. It worked in the terminal in PyCharm and also in command prompt.

나는 윈도우 10에서 여러 파이썬 버전(PyCharm IDE의 버전과 윈도우 스토어의 버전)을 자신도 모르게 설치했다. 나는 윈도우 스토어에서 하나를 제거했고, 철저하게 하기 위해, numpy pip uninstall numpy를 제거한 다음 다시 pip install numpy를 설치했다. 그것은 PyCharm의 터미널과 명령 프롬프트에서도 작동했다.

 

 

 

출처 : https://stackoverflow.com/questions/7818811/error-import-error-no-module-named-numpy-on-windows

반응형
댓글
공지사항
최근에 올라온 글