Skip to content Skip to sidebar Skip to footer

Importerror For Gnuplot In Python Terminal

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 n

Solution 1:

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 forgnuplot-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

Solution 2:

try:

pip install gnuplot-py

If it does not work, try downloading the package from http://gnuplot-py.sourceforge.net/ and install it.

Solution 3:

The easiest solution would be to

  1. Clone:

    git clone https://github.com/jrk/gnuplot-py into the site-packages

  2. Go to the installed directory use:

    python setup.py install

Post a Comment for "Importerror For Gnuplot In Python Terminal"