Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
116 views
in Technique[技术] by (71.8m points)

"Python version 2.7 required, which was not found in the registry" error when attempting to install netCDF4 on Windows 8

I use Anaconda 1.7, 32 bit. I downloaded the correct version of the netCDF4 installer from here.

I attempted to copy the HKEY_LOCAL_MACHINESOFTWAREPython folder into HKEY_LOCAL_MACHINESOFTWAREWow6432Node. No luck.

Does anyone have any idea why this might be happening? Anaconda installed in the default location, C:/.

Yes, I know Anaconda has netCDF4 in the packages list - but if you look closely, it's only offered for Mac and Linux.

question from:https://stackoverflow.com/questions/19169582/python-version-2-7-required-which-was-not-found-in-the-registry-error-when-at

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This error can occur if you are installing a package with a different bitness than your Python version. To see whether your Python installation is 32- or 64-bit, see here.

Some superpacks (e.g. for Scipy) available on SourceForge or python.org are for 32-bit systems and some are for 64-bit systems. See this answer. In Windows, uninstalling the 32-bit and installing the 64-bit version (or vice versa if your installation is 32-bit) can solve the problem.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...