[code-quality] psutil import error

Florian Bruhin me at the-compiler.org
Wed Sep 23 16:27:18 CEST 2015


* Okko Willeboordse <okko.willeboordse at gmail.com> [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.

> C:\Users\owillebo>python
> Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit
> (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import psutil
> >>>

Can you do 'import pylint' here? Can you test with python -m pylint
instead?

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/code-quality/attachments/20150923/06fd833c/attachment.sig>


More information about the code-quality mailing list