Question about install matplotlib package (tk.tcl file on ubuntu)

Hi,
  During the installation of the matplotlib package,
  I was told that the matplotlib is trying to replace the tk.tcl file
which belongs to the tk package

  Can anyone told me if this is a bug or feature

  Because of this conflict, I cannot install the package on my ubuntu

Thanks
Xuedong

Sorry for my stupid question:

What I am trying to run is the following command:

sudo checkinstall python setup.py install

I guess this maybe the problem between checkinstall and matplotlib

Xuedong

Xuedong Zhang 写道:

···

Hi,
During the installation of the matplotlib package,
I was told that the matplotlib is trying to replace the tk.tcl file
which belongs to the tk package

Can anyone told me if this is a bug or feature

Because of this conflict, I cannot install the package on my ubuntu

Thanks
Xuedong

Xuedong Zhang wrote:

Hi,
  During the installation of the matplotlib package,
  I was told that the matplotlib is trying to replace the tk.tcl file
which belongs to the tk package

  Can anyone told me if this is a bug or feature

I don't know what to call it, but if it exists it is in the ubuntu package dependency system, not in matplotlib itself. Also, the version of matplotlib in ubuntu is pretty old, so I advise installing the latest release from source instead. See http://matplotlib.sourceforge.net/.

Eric

···

  Because of this conflict, I cannot install the package on my ubuntu

Thanks
Xuedong

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options

OK, now it's more clear.

I suggest you install to /usr/local. That way you will get rid of this
conflict. You should be able to do it this way:

sudo checkinstall python setup.py install --prefix /usr/local

Hope this helps,

Ga�l

···

On Sat, Jul 21, 2007 at 05:50:19PM -0400, Xuedong Zhang wrote:

What I am trying to run is the following command:

sudo checkinstall python setup.py install

I guess this maybe the problem between checkinstall and matplotlib

Gael Varoquaux wrote:

···

On Sat, Jul 21, 2007 at 05:50:19PM -0400, Xuedong Zhang wrote:
  

What I am trying to run is the following command:
    
sudo checkinstall python setup.py install
    
I guess this maybe the problem between checkinstall and matplotlib
    
OK, now it's more clear.

I suggest you install to /usr/local. That way you will get rid of this
conflict. You should be able to do it this way:

sudo checkinstall python setup.py install --prefix /usr/local
  

I agree with this advice. I wonder if you are running into this problem because you already have matplotlib installed as a Debian package. I'm mostly just curious as to the underlying cause...

Cheers,
Mike

I use the command as follows:
sudo checkinstall python setup.py install --prefix /usr/local

But the problem is the same.
It seems during the python install, python access the tk module, but the checkinstall
seems think it is modified so should be included in the package?

Michael Droettboom 写道:

···

Gael Varoquaux wrote:

On Sat, Jul 21, 2007 at 05:50:19PM -0400, Xuedong Zhang wrote:

What I am trying to run is the following command:
    
sudo checkinstall python setup.py install
    
I guess this maybe the problem between checkinstall and matplotlib
    
OK, now it's more clear.

I suggest you install to /usr/local. That way you will get rid of this
conflict. You should be able to do it this way:

sudo checkinstall python setup.py install --prefix /usr/local
  

I agree with this advice. I wonder if you are running into this problem because you already have matplotlib installed as a Debian package. I'm mostly just curious as to the underlying cause...

Cheers,
Mike

Maybe the solution is to not use checkinstall?

Eric

Xuedong Zhang wrote:

···

I use the command as follows:
sudo checkinstall python setup.py install --prefix /usr/local

But the problem is the same.
It seems during the python install, python access the tk module, but the checkinstall
seems think it is modified so should be included in the package?

Michael Droettboom 写道:

Gael Varoquaux wrote:

On Sat, Jul 21, 2007 at 05:50:19PM -0400, Xuedong Zhang wrote:

What I am trying to run is the following command:
    
sudo checkinstall python setup.py install
    
I guess this maybe the problem between checkinstall and matplotlib
    

OK, now it's more clear.

I suggest you install to /usr/local. That way you will get rid of this
conflict. You should be able to do it this way:

sudo checkinstall python setup.py install --prefix /usr/local
  

I agree with this advice. I wonder if you are running into this problem because you already have matplotlib installed as a Debian package. I'm mostly just curious as to the underlying cause...

Cheers,
Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options

Yes, I would:

* Not use checkinstall
* prefix to /usr/local

HTH,

Ga�l

···

On Mon, Jul 23, 2007 at 08:48:35AM -1000, Eric Firing wrote:

Maybe the solution is to not use checkinstall?