NumPy를 설치하다가 

Python version 2.7 required, which was not found in the registry 라는 에러 메세지가 떳다 


Win 7 64bit 에서 초기 파이썬 설치 시 

Install just for me를 체크하지 않고 Install for all users를 선택한 사용자에게 생기는 에러라고 한다


레지스트리에서 파이썬 경로를 찾을 수 없다는게 문제인데 아래 방법으로 쉽게 해결 할 수 있다



HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7\InstallPath

HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7\PythonPath


위의 2개의 키(InstallPath, PythonPath)의 벨류 데이타를 가지고 아래의 4개의 키를 만든다 


HKEY_CURRENT_USER\Software\Python\Pythoncore\2.6\InstallPath

HKEY_CURRENT_USER\Software\Python\Pythoncore\2.6\PythonPath

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\InstallPath

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\PythonlPath



보통  InstallPath의 벨류 데이타는 

C:\Python27\

PythonPath의 벨류 데이타는

C:\Python27\Lib;C:\Python27\DLLs;C:\Python27\Lib\lib-tk



나중에 64비트의 파이썬에서 32비트의 NumPy는 제대로 작동하지않아서 결국 NumPy-MLK-1.8 64bit를 새로 받음.


Posted by null.
,