Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #86704

Python27.dll could not be found

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <sarvagya.pant@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'subject:not': 0.03; '#include': 0.09; 'dependency': 0.09; 'deploy': 0.09; 'main()': 0.09; 'snippet': 0.09; 'python': 0.11; 'itself.': 0.14; 'folder.': 0.16; 'folder': 0.16; 'looked': 0.18; 'app': 0.19; 'skip:p 40': 0.19; 'help.': 0.21; 'gets': 0.27; 'skip:p 30': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'too.': 0.31; 'correctly.': 0.31; 'file': 0.32; 'there.': 0.32; 'checked': 0.32; 'python.org': 0.32; 'supposed': 0.32; '2010.': 0.33; 'url:python': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'c++': 0.36; 'shows': 0.36; 'url:org': 0.36; 'skip:& 10': 0.38; 'depends': 0.38; 'to:addr :python-list': 0.38; 'files': 0.38; 'visual': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'how': 0.40; 'linked': 0.65; '2.7.': 0.84; 'customers?': 0.84; 'subject:found': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Riv/CylfXPWOgaAPd0z7aHbVGHpSA969fEOqGWynhu0=; b=yr1CCqCssNhoXHDNT2m2aqkhqVami3euawh5uLH7Mue4JRo/ZgLUis041jo4YdAgwK I/8bcOZfLBpedxxNRIo2560v5bdP19wGTRhraL0eDSJVGIdUNm8q0cKj6urvzheNnpuM DpN1nUn3r3UB2JiE57OpW5RvkT1rHTNCnhqC+ry9mHXb2Kh/Fjnd4OsvsugI55ZnmiVG weKk4FCSHaxnkNM5a8819K703hIL0AmYRCsKZ9CubauXt4TPVtfaDZpMSiUmZ1zJI+kj 9H9gEl5d5wVCZZICBaJyXPrmpsVpC0MrWqj+SLk9JAjj2rjyckcr+f+R8fG1HN+x3Wkm T0uw==
MIME-Version 1.0
X-Received by 10.152.22.33 with SMTP id a1mr22826866laf.79.1425276000253; Sun, 01 Mar 2015 22:00:00 -0800 (PST)
Date Mon, 2 Mar 2015 11:45:00 +0545
Subject Python27.dll could not be found
From Sarvagya Pant <sarvagya.pant@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=089e0158b936b3bc6a051047ed4f
X-Mailman-Approved-At Mon, 02 Mar 2015 09:43:47 +0100
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.19
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15.1425285828.13471.python-list@python.org> (permalink)
Lines 55
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1425285828 news.xs4all.nl 2855 [2001:888:2000:d::a6]:53042
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:86704

Show key headers only | View raw


[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


Thread

Python27.dll could not be found Sarvagya Pant <sarvagya.pant@gmail.com> - 2015-03-02 11:45 +0545

csiph-web