Hi
I am getting this error**
File “aerialvision1.py”, line 79, in
import startup
File “/home/satish/gpgpusim/gpgpu-sim_v2.1.1b/aerialvision/startup.py”, line 68, in
import guiclasses
File “/home/satish/gpgpusim/gpgpu-sim_v2.1.1b/aerialvision/guiclasses.py”, line 68, in
matplotlib.use(‘TkAgg’)
AttributeError: ‘module’ object has no attribute ‘use’
" AttributeError: ‘module’ object has no attribute ‘use’ " **
Can anyone please explain me this error
Thanks!
Satish
It means the authors of gpgpu-sim_v2.1.1b made a mistake and did not import matplotlib in guiclasses.py. Contact them about the bug.
Ben Root
···
On Sun, Jul 25, 2010 at 1:55 AM, Satish Raghunath <qgu950@…3211…> wrote:
Hi
I am getting this error**
File “aerialvision1.py”, line 79, in
import startup
File “/home/satish/gpgpusim/gpgpu-sim_v2.1.1b/aerialvision/startup.py”, line 68, in
import guiclasses
File “/home/satish/gpgpusim/gpgpu-sim_v2.1.1b/aerialvision/guiclasses.py”, line 68, in
matplotlib.use(‘TkAgg’)
AttributeError: ‘module’ object has no attribute ‘use’
" AttributeError: ‘module’ object has no attribute ‘use’ " **
Can anyone please explain me this error
Thanks!
Satish
It means that the "module" object (matplotlib) has no attribute named "use".
This kind of error is often encountered when wrong module is imported
as matplotlib.
Try
import matplotlib
print matplotlib.__file__
and see if the output correctly points the location where the
matplotlib is installed.
Regards,
-JJ
···
On Sun, Jul 25, 2010 at 3:55 PM, Satish Raghunath <qgu950@...3210...> wrote:
" AttributeError: 'module' object has no attribute 'use' "