diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-11-18 11:09:53 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-11-18 11:09:53 +0100 |
commit | e0df5da398abfc0fc773736a3dfcc553d2eaa40d (patch) | |
tree | 3b965cd1f7da9678a7ec87d99f4a117bfe4a640e | |
parent | 67c73ad93a748972bfe528e66117c766f05a4859 (diff) | |
download | psutil-e0df5da398abfc0fc773736a3dfcc553d2eaa40d.tar.gz |
improve error msg for old windows systems #811
-rw-r--r-- | psutil/_pswindows.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/psutil/_pswindows.py b/psutil/_pswindows.py index 83936d08..b6c58c93 100644 --- a/psutil/_pswindows.py +++ b/psutil/_pswindows.py @@ -26,7 +26,8 @@ except ImportError as err: # but if we get here it means this this was a wheel (or exe). msg = "this Windows version is too old (< Windows Vista); " msg += "psutil 3.4.2 is the latest version which supports Windows " - msg += "2000, XP and 2003 server" + msg += "2000, XP and 2003 server; it may be possible that psutil " + msg += "will work if compiled from sources though" raise RuntimeError(msg) else: raise |