public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problem with Pylint for Python 2.7
@ 2013-02-12 18:24 hughgs
  2013-02-25 17:51 ` hughgs
  0 siblings, 1 reply; 2+ messages in thread
From: hughgs @ 2013-02-12 18:24 UTC (permalink / raw)
  To: cygwin


Since the upgrade to Python 2.7 I get the following message while trying to use 
the pylint command:

$ pylint search.py
Traceback (most recent call last):
   File "/usr/bin/pylint", line 3, in <module>
     from pylint import lint
ImportError: No module named pylint

$

The error is independent of the file I use.

I did find the HEADSUP: Python 2.7 upgrade thread and noticed that while the 
pylint package was listed as needing to be upgraded, I didn't see that it was 
rebuilt.  Hopefully it just slipped through the cracks!  Thanks.

My cygcheck.out file got rejected for being too large.

George S. Hugh

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with Pylint for Python 2.7
  2013-02-12 18:24 Problem with Pylint for Python 2.7 hughgs
@ 2013-02-25 17:51 ` hughgs
  0 siblings, 0 replies; 2+ messages in thread
From: hughgs @ 2013-02-25 17:51 UTC (permalink / raw)
  To: cygwin

On Tue, 12 Feb 2013, hughgs wrote:

>
> Since the upgrade to Python 2.7 I get the following message while trying to 
> use the pylint command:
>
> $ pylint search.py
> Traceback (most recent call last):
>  File "/usr/bin/pylint", line 3, in <module>
>    from pylint import lint
> ImportError: No module named pylint
>
> $
>
> The error is independent of the file I use.
>
> I did find the HEADSUP: Python 2.7 upgrade thread and noticed that while the 
> pylint package was listed as needing to be upgraded, I didn't see that it was 
> rebuilt.  Hopefully it just slipped through the cracks!  Thanks.
>
> My cygcheck.out file got rejected for being too large.
>
> George S. Hugh
>

I was able to fix this problem by copying the 
python2.6/site-packages/pylint directory to python2.7/site-packages.

Any chance that the pylint package will ge rebuilt so I don't have to do 
this by hand?





George S. Hugh

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-25 17:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-12 18:24 Problem with Pylint for Python 2.7 hughgs
2013-02-25 17:51 ` hughgs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).