X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type:content-transfer-encoding; q=dns; s=default; b=jV4
	yvOw9K34kPInOWWaUBKxxyFUUCKTNHBYSvgoMogCliCkdmSTZ4LSKwpIEnaqBXh/
	+21ooidFZWCVE4HgGV5gBYmLruEQG8Gz7jxnvdMVuAbHUIu8hJH8ZA5jDp1YQ/dg
	VihINpc4GIyQfEwy0kI/ZsE4Ir7OvPyxFsKdjO+Q=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:from:date:message-id:subject:to
	:content-type:content-transfer-encoding; s=default; bh=UALnmwHWS
	7Wz2ijWzQ5jA18JhWo=; b=jkwghSchniVbAG67yx7YZPXDDSAzpz+Vup7vL6NPC
	Qay9c35AxyXYVGQSKBfUihGrEIBTZPzaqppofiSwOgNZdJZXgAzE4Fo7O6ZlhK/6
	qhKrmqM253jMvzZkE6Wl7VoKYGo1ER98fREftEnWsuJ4EPeYXr7lJSKeqk4GhUth
	dQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=that, that=e2, it=e2, expecting?=
X-HELO: mail-wr0-f178.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:mime-version:from:date:message-id:subject:to         :content-transfer-encoding;        bh=m2QtIO9OOmUHWT2rVccAJx87nrNIt76wdyZt/SAK5ZM=;        b=FQnbNW59YYfsJt5LfjTeVS8vlaxdIRwnL0aM70c0Kup2i8ktX0MvJtte4FAWbHLABS         6w4rxUYnl39Af9R28IkTytomHF5zKGsLtaclKCas+un5/QY54uGcTTw+i1goPhyItgjp         22kc6jY8i6/KEb+H+fvCkKH0vZhhFiDxmS+3tQCOuHbj178C3KTE7ntyeIf+MnBZuPaE         WarxdhyveVgt09iWMYyBjsMqG5N2WQjG7FdnsC7d1LOPOANGIwp8PtcfUk51VJUBgagJ         yoK/ZjlidNyN4T7AOQ6qdpql/V1nS6UEfPh7bsiRppwu92smb1ZzIpf7T2hhA39Xvuyx         4q5g==
X-Gm-Message-State: AODbwcAP/nKsuLBadwbQcdni4a1EfsXly6ZcBA6t7859wbiHA9gE/baY	omwlbyR1s+ymlKO2X6z7CJVPk49x1GzJAHE=
X-Received: by 10.46.0.23 with SMTP id 23mr709285lja.33.1495014838037; Wed, 17 May 2017 02:53:58 -0700 (PDT)
MIME-Version: 1.0
From: Michael Diamond <dimo414@gmail.com>
Date: Wed, 17 May 2017 02:53:17 -0700
Message-ID: <CACNkRr4foSjYH32EdJkrYC4gOTupxpAQKG9G8H6O1yxYyn6PCw@mail.gmail.com>
Subject: Import error with python2-httplib2-0.9.2-1
To: cygwin@cygwin.com
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v4H9sHsr002593

Hello all,

I’m running into trouble with the python2-httplib2[1] package in a
fresh install of Cygwin:

$ python -c 'import httplib2'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line
95, in <module>
    from iri2uri import iri2uri
  File "/usr/lib/python2.7/site-packages/httplib2/iri2uri.py", line
15, in <module>
    import urllib.parse
ImportError: No module named parse

As noted here[2], urllib.parse was introduced in Python 3, so it seems
odd for a 2.7 file to be expecting it. I also notice that it’s `import
urlparse` on GitHub[3], for whatever that’s worth.

[1]: https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fpython2-httplib2%2Fpython2-httplib2-0.9.2-1
[2]: http://stackoverflow.com/q/29358403/113632
[3]: https://github.com/httplib2/httplib2/blob/master/python2/httplib2/iri2uri.py#L15

Thanks,

Michael

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


