Message304095
I'm not doing anything unusual.
Just to recap, I installed Python27 (in Windows 7 in my case- but this problem happens in Windows 10 too).
I did use `pip` to install packages as you'll see in the screenshot. But even if i rename the `C:\Python27\Lib\site-packages\backports` to `ignoreme-backports`. When i change the PYTHONPATH (from within sys.path.insert(0, 'new_path/that/has/a/backports/dir/in/it');
import backports
print backports.__path__
# always prints: C:\Python27\Lib\site-packages\backports
The problem arises because the following code won't work in my program:
from import import ssl_match_hostname
^^ That throws an exception that the package doesn't exist. It's debugging it to the __path__ being incorrect that caused me to create this ticket. |
|
Date |
User |
Action |
Args |
2017-10-10 23:57:28 | Chris Caron | set | recipients:
+ Chris Caron, paul.moore, tim.golden, r.david.murray, zach.ware, steve.dower |
2017-10-10 23:57:27 | Chris Caron | set | messageid: <1507679847.7.0.213398074469.issue31741@psf.upfronthosting.co.za> |
2017-10-10 23:57:27 | Chris Caron | link | issue31741 messages |
2017-10-10 23:57:27 | Chris Caron | create | |
|