import psutil
Gives; [F0401] Unable to import 'psutil'
pylint 1.4.4,
astroid 1.3.8, common 1.0.2
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
___
code-quality mailing list
[email protected]
https://mail.python.org/mai
* Okko Willeboordse [2015-09-22 21:30:28 +0200]:
> import psutil
>
> Gives; [F0401] Unable to import 'psutil'
Works fine here:
$ virtualenv .venv2
Running virtualenv with interpreter /usr/bin/python2
New python executable in .venv2/bin/python2
Also creating executable in .venv2/
* Okko Willeboordse [2015-09-23 15:51:17 +0200]:
> Note that I run on Windows, you don't (/usr/bin/python2).
Also works fine for me under Windows.
> Also note that programs using psutil run fine.
That'd suggest the same - the Python your pylint is installed for
isn't the Python you're running.
Note that I run on Windows, you don't (/usr/bin/python2). Also note
that programs using psutil run fine.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\owillebo>python
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit