[Python-apps-team] Bug#644633: [pyflakes] pyflakes is broken after the switch to python 2.7

Antonio Valentino antonio.valentino at tiscali.it
Fri Oct 7 14:47:39 UTC 2011


Package: pyflakes
Version: 0.5.0-1
Severity: normal

pyflakes is broken after the switch to python 2.7
To reproduce:

$ pyflakes   
/home/valentino/.local/bin/pyflakes:4: UserWarning: Module dap was
already imported from None, but /usr/lib/python2.7/dist-packages is
being added to sys.path import pkg_resources Traceback (most recent
call last): File "/home/valentino/.local/bin/pyflakes", line 5, in
<module> pkg_resources.run_script('pyflakes==0.5.0', 'pyflakes')
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 467,
in run_script self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1194,
in run_script raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'pyflakes'


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.0.0-1-amd64

Debian Release: wheezy/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.debian.org 
  500 unstable        91.81.121.179 
  500 stable          dl.google.com 
  500 stable          debian.gfoss.it 

--- Package information. ---
Depends              (Version) | Installed
==============================-+-============
python                (>= 2.5) | 2.7.2-8
python-support     (>= 0.90.0) | 1.0.14


Package's Recommends field is empty.

Package's Suggests field is empty.






-- 
Antonio Valentino





More information about the Python-apps-team mailing list