[New-bugs-announce] [issue29994] site.USER_SITE is None for Windows embeddable Python 3.6

Brecht Machiels report at bugs.python.org
Wed Apr 5 06:36:22 EDT 2017


New submission from Brecht Machiels:

Previous versions of the embeddable Python:

    Python 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 16:02:32) [MSC v.1900 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import site
    >>> site.USER_SITE
    'C:\\Users\\Brecht\\AppData\\Roaming\\Python\\Python35\\site-packages'
    >>>

Version 3.6.0 and 3.6.1, both win32 and amd64:

    Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)] on win32
    >>> import site
    >>> site.USER_SITE
    >>>

 This causes problems when importing pip for example.

----------
components: Windows
messages: 291174
nosy: brechtm, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: site.USER_SITE is None for Windows embeddable Python 3.6
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29994>
_______________________________________


More information about the New-bugs-announce mailing list