I have Gnuplot 4.2 patchlevel 6 installed on my Centos 6 system. However, whenever I try importing Gnuplot in the python terminal, I get an error message which says that there is no module named Gnuplot:
'>>> import Gnuplot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named Gnuplot`
Please help. Thanks.
pip install gnuplot-py
didnot worked for me
Collecting gnuplot-py
Could not find a version that satisfies the requirement gnuplot-py (from versions: )
Some externally hosted files were ignored as access to them may be unreliable (use --allow-external gnuplot-py to allow).
No matching distribution found for gnuplot-py
but following did the job:
wget http://downloads.sourceforge.net/project/gnuplot-py/Gnuplot-py/1.8/gnuplot-py-1.8.tar.gz
tar xzf gnuplot-py-1.8.tar.gz
cd gnuplot-py-1.8/
python setup.py install
try:
pip install gnuplot-py
If it does not work, try downloading the package from http://gnuplot-py.sourceforge.net/ and install it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With