Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86704
| Date | 2015-03-02 11:45 +0545 |
|---|---|
| Subject | Python27.dll could not be found |
| From | Sarvagya Pant <sarvagya.pant@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15.1425285828.13471.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
I have been writing a c++ program that is supposed to call the python
function. The code is a snippet from python.org itself.
#include <Python.h>
#include <iostream>
#include <string>
int main()
{
Py_SetProgramName("Learning");
Py_Initialize();
PyRun_SimpleString("import hashlib\nprint hashlib.md5('sarvagya
pant').hexdigest()");
Py_Finalize();
return 0;
}
I have used Visual Studio 2010. I have linked the include directories and
lib files correctly. It gets correctly built. Dependency walker shows the
file depends upon Python27.dll.
I have looked into the folder Dlls of python. It is not there. Also I have
checked both System and System32 folder. It is not present in there too.
Python version is 2.7. How can I get Python27.dll to deploy my app for
customers? Please help.
--
*sarvagya*
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Python27.dll could not be found Sarvagya Pant <sarvagya.pant@gmail.com> - 2015-03-02 11:45 +0545
csiph-web