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


Groups > comp.lang.python > #85809

Re: Issues pip-installing pywin32

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!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'url:sourceforge': 0.03; '(python': 0.07; 'debug': 0.07; 'error:': 0.07; 'ignored': 0.07; 'lines,': 0.07; 'pypi': 0.07; 'think,': 0.07; 'happens.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'satisfy': 0.09; 'security.': 0.09; 'worse': 0.09; 'python': 0.11; 'jan': 0.12; 'windows': 0.15; '(before': 0.16; '(use': 0.16; '3.3,': 0.16; 'check?': 0.16; 'fetch': 0.16; 'fine.': 0.16; 'hostname': 0.16; 'https': 0.16; 'it".': 0.16; 'link,': 0.16; 'pythonwin': 0.16; 'pywin32': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'storing': 0.16; 'url:pywin32': 0.16; 'appropriate': 0.16; 'url:)': 0.16; 'wrote:': 0.18; 'work,': 0.20; 'seems': 0.21; 'command': 0.22; 'saying': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'skip': 0.24; 'versions': 0.24; '(see': 0.26; 'least': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; '[1]': 0.29; 'am,': 0.29; 'google,': 0.29; "doesn't": 0.30; "i'm": 0.30; 'work.': 0.31; 'asked': 0.31; 'gives': 0.31; 'program,': 0.31; "skip:' 10": 0.31; 'exclude': 0.31; 'work:': 0.31; 'this.': 0.32; 'skip:c 30': 0.32; 'linux': 0.33; 'url:python': 0.33; 'running': 0.33; 'skip:d 20': 0.34; "i'd": 0.34; 'could': 0.34; 'info': 0.35; 'connection': 0.35; 'something': 0.35; 'requirement': 0.35; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'url:org': 0.36; 'clear': 0.37; 'to:addr :python-list': 0.38; 'files': 0.38; 'skip:- 10': 0.38; 'rather': 0.38; 'does': 0.39; '(from': 0.39; 'hosted': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'how': 0.40; 'tell': 0.60; 'simple': 0.61; 'grab': 0.64; 'him,': 0.64; 'on...': 0.68; 'user,': 0.69; 'obvious': 0.74; 'glad': 0.83; '3.4': 0.84; 'hassle': 0.84; 'installer': 0.84; 'received:fios.verizon.net': 0.84; 'bounce': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Issues pip-installing pywin32
Date Wed, 18 Feb 2015 14:01:30 -0500
References <CAPTjJmqkMuif3-misbL5fj1Hi6JXk=RZeAtqtnygOuqRO9HOFQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-98-114-97-173.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
In-Reply-To <CAPTjJmqkMuif3-misbL5fj1Hi6JXk=RZeAtqtnygOuqRO9HOFQ@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.18830.1424286124.18130.python-list@python.org> (permalink)
Lines 87
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1424286124 news.xs4all.nl 2867 [2001:888:2000:d::a6]:46471
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:85809

Show key headers only | View raw


On 2/18/2015 7:13 AM, Chris Angelico wrote:
> (Before I begin, I want to make it clear that I can still go poke
> around on SourceForge and grab the appropriate installer [1], and that
> does work. But if I'm going to tell someone else how to set up this
> program, I'd much rather be able to recommend pip.)
>
> On a fresh Python 3.4 running on Windows 7, attempting to "pip install
> pywin32" doesn't work:
>
> C:\Users\Rosuav>pip install pywin32
> Downloading/unpacking pywin32
>    Could not find any downloads that satisfy the requirement pywin32
>    Some externally hosted files were ignored (use --allow-external
> pywin32 to allow).
> Cleaning up...
> No distributions at all found for pywin32
> Storing debug log for failure in C:\Users\Rosuav\pip\pip.log
>
> C:\Users\Rosuav>pip install --allow-external pywin32
> You must give at least one requirement to install (see "pip help install")
>
>
> Okay, so the obvious command doesn't work, and gives a
> not-particularly-helpful error message, but I know how to Google, I
> can get past this.
>
>
> C:\Users\Rosuav>pip install --allow-external pywin32
> --allow-unverified pywin32 pywin32
> Downloading/unpacking pywin32
>    Could not find any downloads that satisfy the requirement pywin32
> Cleaning up...
> No distributions at all found for pywin32
> Storing debug log for failure in C:\Users\Rosuav\pip\pip.log
>
>
> Huh. The PyPI categorization seems to exclude Python 3.4 support

I have pip-installed 3.4 packages just fine.

> (despite versions for both 3.4 and 3.5 existing on the sourceforge
> page). Let's try that with 2.7, just to see what happens. (I could
> alternatively backlevel to 3.3, I suppose.)
>
> C:\Users\Rosuav>\python27\python -m pip --version
> pip 1.5.6 from C:\python27\lib\site-packages (python 2.7)
>
> C:\Users\Rosuav>\python27\python -m pip install --allow-external
> pywin32 --allow-unverified pywin32 pywin32
> Downloading/unpacking pywin32
>    Could not find any downloads that satisfy the requirement pywin32
> Cleaning up...
> No distributions at all found for pywin32
> Storing debug log for failure in C:\Users\Rosuav\pip\pip.log
>
>
> The log contains these lines, which may be a clue as to what's going on...
>
>    Could not fetch URL
> https://sourceforge.net/projects/pywin32/files/pywin32/ (from
> https://pypi.python.org/simple/pywin32/): connection error: hostname
> 'sourceforge.net' doesn't match either of 'cloudfront.net',
> '*.cloudfront.net'
>    Will skip URL
> https://sourceforge.net/projects/pywin32/files/pywin32/ when looking
> for download links for pywin32
>    Could not find any downloads that satisfy the requirement pywin32
>
> Does this mean there's an HTTPS configuration error at sourceforge?
> And if that is indeed the problem, is there any way that I, as an end
> user, can bypass the check? My alternative is using a non-SSL link, so
> it's not like I'd actually have worse security.
>
> At this point, I am REALLY glad my Dad asked me to set this all up for
> him, rather than just giving him some instructions and saying "go for
> it". (And to think, all I want is a simple program to bounce some info
> out from a Windows VM onto the Linux host. So much hassle for
> something so simple.)
>
> [1] http://sourceforge.net/projects/pywin32/files/pywin32/

I would send your experience to Mark Hammond to let him know that 
pythonwin does not seem to be pip-installable.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Issues pip-installing pywin32 Terry Reedy <tjreedy@udel.edu> - 2015-02-18 14:01 -0500

csiph-web