Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

No module 'pwd' on importing krbcontext #33

Closed
tushar-sharma opened this issue Dec 26, 2019 · 3 comments
Closed

No module 'pwd' on importing krbcontext #33

tushar-sharma opened this issue Dec 26, 2019 · 3 comments

Comments

@tushar-sharma
Copy link

Hi

Simply importing the module: krbcontext on Windows

import krbcontext

Gives me the following error.

import pwd
ModuleNotFoundError: No module named 'pwd'

It seems like krbcontext\context.py uses pwd module which seems to be available only on Unix , is there a workaround for this on Windows?

@tkdchen
Copy link
Contributor

tkdchen commented Dec 27, 2019

I never tested it on Windows. I have to investigate and figure out a solution or workaround. Does anyone else have some ideas or suggestions? Thanks.

@tkdchen
Copy link
Contributor

tkdchen commented Dec 27, 2019

In addition, Windows wasn't a target platform when this module was created. So, I'm not sure if krbcontext could work well on Windows even if this issue gets fixed.

@tkdchen
Copy link
Contributor

tkdchen commented May 10, 2020

Close this issue. Welcome patch to make it work on Windows.

@tkdchen tkdchen closed this as completed May 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants