AFNI can't find PyQT4, python installed with anaconda

Hi all,

I have installed AFNI and am trying to run but I get this error:

**** failed to import PyQt4.QtGui ****

   PyQt4 must be installed to run the GUI
   --> see the output of: -help_install

My output for which python is

sabir@sabir-desktop:~$ which python

I have PyQt4 installed but I’m not sure why it can’t find it. What should I do?

Thanks so much.

The PyQt4 package must be installed in the same anaconda
environment. If it is, perhaps you have PYTHONPATH set to
point out of it?

  • rick

Hi Rick,

Thanks so much for the reply. I removed Anaconda from my .bashrc file and now when I call Python it runs the Ubuntu distribution of Python 2.7 where I installed PyQt4. Now, it works.

All the best,