Install from PyPI on Windows fails due to dependency on pwd
Bug #1276040 reported by
Bruce Sutherland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-crontab |
Fix Released
|
Critical
|
Martin Owens |
Bug Description
pip install python-crontab
Fails with ImportError: No module named pwd
pwd is only available on Unix.
Related branches
Changed in python-crontab: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
To post a comment you must log in.
This seems to work (crontab.py):
import os, re, sys
if 'nt' != os.name:
import pwd