-
-
Notifications
You must be signed in to change notification settings - Fork 933
Windows : ImportError: No module named pwd on util.py #356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
GitPython 0.3.2.1 is the first version with the fix - could it be that you are using a version older than that ? |
I don't know why, but this function is not really portable (Windows Server 2012). I use the latest release (1.0.1) of gitpython. |
On this project they are same issue with |
As this seems to be an issue with the python distribution, there seems to be nothing GitPython can do. Please let me know if I have overlooked anything though, |
If anyone is struggling with this, here is a workaround: Since
If for some reason none of these are set on your windows machine (it was my case when running tests on a build machine), find some way to define one of these variables in order to prevent python to try to import |
This is a tox issue: tox-dev/tox#1455 A workaround would be to set in tox.ini
|
and here was my traceback:
|
#1314 should fix this. |
When i try to build gitpython on Windows Server i have this error message.
After search, the only solution is try this hack on utiy.py file.
Then use this :
instead of
What do you think about that ?
The text was updated successfully, but these errors were encountered: