Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'subject:not': 0.03; 'matches': 0.07; 'puts': 0.07; 'executable': 0.09; 'msi': 0.09; 'shows.': 0.09; 'windows,': 0.09; 'python': 0.11; 'windows': 0.15; '.py': 0.16; 'path.': 0.16; 'wrote:': 0.18; "python's": 0.19; 'skip:f 30': 0.19; 'written': 0.21; 'header :User-Agent:1': 0.23; 'dll': 0.24; 'skip:% 10': 0.24; 'file.': 0.24; "i've": 0.25; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'specified': 0.30; 'equivalent.': 0.31; 'loading': 0.31; 'linux': 0.33; 'actual': 0.34; 'but': 0.35; 'located': 0.36; 'doing': 0.36; 'shows': 0.36; 'similar': 0.36; 'problems': 0.38; 'depends': 0.38; 'mine': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'called': 0.40; 'how': 0.40; 'dave': 0.60; 'simple': 0.61; 'received:46': 0.66; 'from:addr:yahoo.no': 0.84; 'installer': 0.84; 'message-id:@yahoo.no': 0.84; 'safer': 0.84; 'angel': 0.91; 'subject:found': 0.93; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s2048; t=1425324129; bh=8jEhO9OJr/abVgEzw86m1SgDw7bzoIOHV9NBHStlCts=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=ip8VkQGXN65wu5twQ3UqoJ6LbXSwJqeV5SxUZUFD5VUu+ZJ163RANTp6fj7ldNsmBjPcOdsJGMFFvtaaj82d/wD7eaFluikAvPUMoDNGbyBHyzRKmhx0+IIUcW5DxBk8GDYsV3mLA1Dxcx9cHMK/9AcXB/zBd0gEXGpzQG2S3U9IchY57Z+AlQr0QF3P1wWibjDh5QE2rEvCcvG/ddR+FvBfl58u+0qq1rJs+Iw//3ZW457XwVmDH2eABDqVGAW77emVW6imuQS0eiV64C0m3FUj3nJnPJwDQTc8XRqsVMp2VcFZIO8cgEcdIPhRErF8QLhrRmvlzszSvnnEsYhNzw== X-Yahoo-Newman-Id: 618589.45068.bm@smtp146.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: y41iqc0VM1lM50emVbQxSioUB.DeEbnNssSR_BiNh.VwT_4 HZuNCmK5yZ8Zt6LpgOll83_O0Bk58fo65c3eBvQPGqCzDWHYQrWwQjOHQeoC tYpSf9EPsBSk1DL8b1N7MmiTbxrRO39LXgeh75NESnFxhuzMDGCJMF2aWYoN jc5a.yFkJbDUYY89diIrgfZg97ht0z_d7xUQH.mphIsjbvFm06P08PBmsFzM m3YS9jgf3A2HtJbb_HiX1kfRpsDU6z_LvnV5BWo7f25FsZphOmGuFpCT93n1 mbrwXb3TgQnrC8C2q.7Gixj78OZuWjKmQb6b8.ME0350abvDO8_HtO6EnHK. krk28JB7YmQp_WduJ3tbQtU2mV77auo5DYqsd1YUt2uy6kRp6WtyGMPI8036 rNOuUrMNvSOBxI8Gs5JMAZIJER8jbhT08PzHXeM0F1Z6ToXGDVRRORq84KmB rleNRV1Y_Dosx_zZes1wIFEUfgvD9MqX7lJRLDnrmwOQq5Qf9Ox_9RVfiXnA h8wtGvl4rRCPejUkve2HwlGD3Cc.CDRc6piq_zWuF_kHDBLSemzBBYdxJEAA 5E3K2qIbckoy.h8Grnz3oik5vJ5U- X-Yahoo-SMTP: 8zhYLGyswBB3AGU8c4pvFIFOfA-- Date: Mon, 02 Mar 2015 20:22:12 +0100 From: Gisle Vanem User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python27.dll could not be found References: <54F45701.6030006@davea.name> In-Reply-To: <54F45701.6030006@davea.name> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1425324241 news.xs4all.nl 2943 [2001:888:2000:d::a6]:33267 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86779 Dave Angel wrote: > When I ran Windows, I had written a simple utility that searched the PATH for a specified file. > I called it which.bat to match the Linux equivalent. I've written a similar tool; envtool --path --python python27.dll Matches in %PATH: 15 May 2013 - 21:43:38: f:\ProgramFiler\Python27\python27.dll Matches in Python's sys.path[]: 15 May 2013 - 21:43:38: f:\programfiler\Python27\python27.dll (available at http://watt-32.net/misc/#envtool ) > You can look to see where the system thinks the Python executable is located by doing > > ftype .py > and seeing what it shows. Mine shows Python.File > > Then do > assoc Python.File > > to see an actual path. That will give you the path of python.exe. Not pythonXX.dll (as the OP had problems with). But by Windows DLL loading rules, it's IMHO safer to have pythonXX.dll in the directory of python[w].exe. On Windows, ACAICR the Python MSI installer puts pythonXX.dll in %Windir\system32. So it depends on how the OP installed his Python. -- --gv