Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python27.dll File Missing - Exception

Tags:

python

dll

I have downloaded my code from bit-bucket which was made by my group member. It contain all the frameworks and python script folder. But when I run this code on my system it generates the following error:

This program can't start because python27.dll is missing from your computer. Try reinstalling the program to fix this program

I have also downloaded and installed python 2.7 on my system but when I run it generates the same error.

Please tell me how can I fix this problem.

like image 484
user1375948 Avatar asked Mar 13 '14 14:03

user1375948


2 Answers

It's most probably a 32-bit or 64-bit issue. Try downloading proper version.

like image 128
Abhishek Dey Avatar answered Oct 19 '22 10:10

Abhishek Dey


I also got this error when I copied my python environment from one computer to another. Both computers were 64 bit and the installation was 64 bit. What happens is that python installer updates Microsoft registry. When I simply copied the python files, the registry did not get updated, of course, resulting in the dll file missing error message.

I solved it by installing the 64 bit version of python first on my target computer, and then did my copy of the environment, i.e. copied c:\pythonFromComputerA to target computer's c:\python27, effectively overwriting the python that had just been installed. But because the installer updated the registry, I could now run with my python environment on the target computer without getting the error message.

Thought I'd provide this in case others are out there scratching their heads, having correctly matching installation with OS yet getting this error message.

like image 44
Nelda.techspiress Avatar answered Oct 19 '22 11:10

Nelda.techspiress