简体   繁体   中英

Missing dll Error Whle installing Python 2.7

I am trying to install python(epd_free-7.3-2-win-x86) on my PC (windows 7 - 32bit) but not able to do so. it shows error which says a DLL is missing. searched every where but could not found. i have attached an image of error message dialog.

在此输入图像描述

I also tried different python installers but they show same error. I even tried installation after updating my windows but nothing worked. Please tell me what to do??

Was facing the same problem in windows 8 - 64 bit .. try doing this..

Go to C:/Users//AppData/Local . right click on the folder "Temp" . Go to Properties . Go to Security Tab. Click on "Everyone" and " Edit" the permission to "full control"-> allow . Click apply.

try running the installer again. YOu should be good to go.

Run Command Prompt as Administrator. See Image

在此输入图像描述

Change directory to location of .msi file using cd command and type the name of of your file with extension ie .msi (see image below). You may give the complete path of file instead of changing directories.

在此输入图像描述

Open command line as administrator. Change directories to the folder where the file is located.

For example for me it was the following:

CD C:/Users/"MyName"/Downloads C:/Users/"MyName"/Downloads python-3.3.3.amd64.msi

This will run the installation with admin rights and the error window will not pop up.

您也可以右键单击msi包,选择“属性”,然后单击“取消阻止”按钮。

You can use Windows Power Shell. Just run it as administrator and then go to python-2.7.10.amd64.msi path. then execute it by command and it will install without any problem.

for example:

I put python installer file in D:\\Programming\\language\\Python

So:

PS C:\\Windows\\system32> cd D:\\Programming\\language\\Python

PS D:\\Programming\\language\\Python> .\\python-2.7.10.amd64.msi

and ENTER

On some systems the order matters (windows 2008 R2 for example) when also installing pip. This answer seems to do the trick when having this error on such systems

As I have mentioned in the comment above, I have found the solution for it. here is it.

In my case, the DLL wasn't missing-- the installer didn't have permissions to access the folder. so what I did is navigated to C:\\Users\\x\\AppData\\Local\\ and right clicked on Temp. there in after going to Properties > Security on the C:\\Users\\x\\AppData\\Local\\Temp folder and given 'Everyone' the 'Full control' permission. Installer that previous had been failing now worked! for more details : https://superuser.com/questions/478631/dll-could-not-be-run-for-msi-installers

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