[issue31741] backports import path can not be overridden in Windows (Linux works fine)

Zachary Ware report at bugs.python.org
Thu Oct 12 01:05:21 EDT 2017


Zachary Ware <zachary.ware at gmail.com> added the comment:

Note that your instructions start with downloading the installer for 2.7.0, whereas the latest version of 2.7 is 2.7.14, which includes pip.

backports is a strange beast of a package, which tries to emulate Python 3's namespace packages in Python 2.  To do so, backports.__init__ must have a very specific incantation, which yours is lacking (it only contains "from __future__ import absolute_import").  See https://pypi.org/project/backports/ for more details.

----------
resolution: third party -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31741>
_______________________________________


More information about the Python-bugs-list mailing list