Tested on Debian Linux
$ sudo pip install gprof2dot --upgrade
Requirement already up-to-date: gprof2dot in
/usr/local/lib/python2.7/dist-packages
Cleaning up...
$ gprof2dot
Traceback (most recent call last):
File "/usr/local/bin/gprof2dot", line 9, in <module>
load_entry_point('gprof2dot==2014.03.11', 'console_scripts', 'gprof2dot')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2307, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2018, in load
raise ImportError("%r has no %r attribute" % (entry,attr))
ImportError: <module 'gprof2dot' from
'/usr/local/lib/python2.7/dist-packages/gprof2dot.pyc'> has no 'main' attribute
Original issue reported on code.google.com by richar...@gmail.com on 11 Mar 2014 at 8:27
Original issue reported on code.google.com by
richar...@gmail.com
on 11 Mar 2014 at 8:27