简体   繁体   中英

Error when installing python

I was trying to install python and for some weird and unknown reason, the installation process is stopped and returns this error

An error occurred during the installation of assembly 'Microsoft.VC90.CRT,version="9.0.21022.8",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="amd64",type="win32"'. Please refer to Help and Support for more information.

This is the first time I encountered such error. I tried 'googling' it but there seems to be no way to fix this up. Do you guys have any suggestions? I just want to install python.

I know this is an old post but I recently ran into this exact same issue. It was caused by my machine having pending Windows updates that needed a restart to be applied.

Once you've reset your machine remove the C:\\Python27 folder (this is important).

Rerun the installer and it should work with no issues :-)

Please provide the environment you have installed.

if windows 2008 R2, because of the rights issue, you need to cancel the installation of pip, it is best not to install in C.

msiexec.exe /quiet /i python-2.7.10.amd64.msi ADDLOCAL=DefaultFeature TARGETDIR=D:\python27

I encountered the same problem. The reason is that Python-dependent system updates need to be rebooted before they can be configured correctly

Try Anaconda it has a lot of libraries already packaged in it. And it comes with conda : a package manager.

conda install my-package

And my-package is already installed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM