Skip to content

Windows installation: KeyError os.environ["HOME"] #83

@ahalota

Description

@ahalota

I'm failing several of the tests on a Windows install, because Windows uses "USERPROFILE" instead of "HOME".

I'm not sure if this is designed to run with Windows or not, for now I am going to replace the code on my end with this:

import os.path
home_folder = os.path.expanduser('~')

(src: https://stackoverflow.com/questions/14742064/python-os-environhome-works-on-idle-but-not-in-a-script/33935163)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions