Entering edit mode
7.8 years ago
naveen100787
•
0
I have installed seaborn with python2.7 on centos but when I am importing seaborn through terminal it's showing following error:
ImportError: No module named PyQt4
Please add how you installed seaborn and if that installation worked as expected.
python -m pip install seaborn
?
If it doesn't install all the dependencies at the same time, rinse and repeat with each module it complains about:
python -m pip install PyQt4
Often it's just a problem with which pip version installed the module by not 'putting it in the right place' where your python binary then checks, it doesn't find it. Installing as above guarantees the right version of pip does the installing.