i have installed seaborn with python2.7 but when I am importing seaborn through terminal itz showing following error:
0
0
Entering edit mode
7.1 years ago

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
seaborn python2.7 • 4.4k views
ADD COMMENT
0
Entering edit mode

Please add how you installed seaborn and if that installation worked as expected.

ADD REPLY
1
Entering edit mode

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.

ADD REPLY

Login before adding your answer.

Traffic: 1075 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6