Peng Yu | 4 May 2012 18:04
Picon

Installing graph-tool using pip

Hi,

I don't see a way to install graph-tool using pip. Port on Mac OS X is
not updated as frequently as pip. I'd recommend adding a way to
install graph-tool using pip. Right now, I see the following error.

/tmp$ pip install graph-tool
Downloading/unpacking graph-tool
  Downloading graph-tool-2.2.15.tar.bz2 (520Kb): 520Kb downloaded
  Running setup.py egg_info for package graph-tool
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
    IOError: [Errno 2] No such file or directory:
'/private/tmp/build/graph-tool/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory:
'/private/tmp/build/graph-tool/setup.py'

----------------------------------------
Command python setup.py egg_info failed with error code 1

--

-- 
Regards,
Peng
Tiago de Paula Peixoto | 4 May 2012 18:23
Picon
Gravatar

Re: Installing graph-tool using pip

On 05/04/2012 06:04 PM, Peng Yu wrote:
> Hi,
> 
> I don't see a way to install graph-tool using pip. Port on Mac OS X is
> not updated as frequently as pip. I'd recommend adding a way to
> install graph-tool using pip. Right now, I see the following error.

Neither pip nor easy_install are supported. Huge portions of graph-tool
are implemented in C++ and thus require compilation. Although it is
possible to use python's setuptools to compile packages in C/C++ as well
(numpy and scipy do this), I find that autotools provides a much more
comfortable and reliable approach, which is more likely to work in
different environments. I feel that porting things to setuptools would
be quite a pain.

Cheers,
Tiago

--

-- 
Tiago de Paula Peixoto <tiago <at> skewed.de>

_______________________________________________
graph-tool mailing list
graph-tool <at> skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool
Peng Yu | 4 May 2012 18:36
Picon

Re: Installing graph-tool using pip

On Fri, May 4, 2012 at 11:23 AM, Tiago de Paula Peixoto <tiago <at> skewed.de> wrote:
> On 05/04/2012 06:04 PM, Peng Yu wrote:
>> Hi,
>>
>> I don't see a way to install graph-tool using pip. Port on Mac OS X is
>> not updated as frequently as pip. I'd recommend adding a way to
>> install graph-tool using pip. Right now, I see the following error.
>
> Neither pip nor easy_install are supported. Huge portions of graph-tool
> are implemented in C++ and thus require compilation. Although it is
> possible to use python's setuptools to compile packages in C/C++ as well
> (numpy and scipy do this), I find that autotools provides a much more
> comfortable and reliable approach, which is more likely to work in
> different environments. I feel that porting things to setuptools would
> be quite a pain.

For Mac, is it possible to make a dmg for installation? (I don't have
any experience on making a dmg package). But this could help potential
users who want avoid compiling the package themselves (the requirement
on gcc 4.4 can be a deal breaker).

--

-- 
Regards,
Peng
Tiago de Paula Peixoto | 4 May 2012 19:43
Picon
Gravatar

Re: Installing graph-tool using pip

On Fri 04 May 2012 06:36:14 PM CEST, Peng Yu wrote:
> On Fri, May 4, 2012 at 11:23 AM, Tiago de Paula Peixoto <tiago <at> skewed.de> wrote:
>> On 05/04/2012 06:04 PM, Peng Yu wrote:
>>> Hi,
>>>
>>> I don't see a way to install graph-tool using pip. Port on Mac OS X is
>>> not updated as frequently as pip. I'd recommend adding a way to
>>> install graph-tool using pip. Right now, I see the following error.
>>
>> Neither pip nor easy_install are supported. Huge portions of graph-tool
>> are implemented in C++ and thus require compilation. Although it is
>> possible to use python's setuptools to compile packages in C/C++ as well
>> (numpy and scipy do this), I find that autotools provides a much more
>> comfortable and reliable approach, which is more likely to work in
>> different environments. I feel that porting things to setuptools would
>> be quite a pain.
>
> For Mac, is it possible to make a dmg for installation? (I don't have
> any experience on making a dmg package). But this could help potential
> users who want avoid compiling the package themselves (the requirement
> on gcc 4.4 can be a deal breaker).
>

It should be possible to make binaries with macports:

    http://guide.macports.org/chunked/using.binaries.html

I'll investigate this possibility for future releases.

As for gcc 4.4, I don't see what is the big deal, since it corresponds
(Continue reading)

Peng Yu | 4 May 2012 20:07
Picon

Re: Installing graph-tool using pip

On Fri, May 4, 2012 at 12:43 PM, Tiago de Paula Peixoto <tiago <at> skewed.de> wrote:
> On Fri 04 May 2012 06:36:14 PM CEST, Peng Yu wrote:
>> On Fri, May 4, 2012 at 11:23 AM, Tiago de Paula Peixoto <tiago <at> skewed.de> wrote:
>>> On 05/04/2012 06:04 PM, Peng Yu wrote:
>>>> Hi,
>>>>
>>>> I don't see a way to install graph-tool using pip. Port on Mac OS X is
>>>> not updated as frequently as pip. I'd recommend adding a way to
>>>> install graph-tool using pip. Right now, I see the following error.
>>>
>>> Neither pip nor easy_install are supported. Huge portions of graph-tool
>>> are implemented in C++ and thus require compilation. Although it is
>>> possible to use python's setuptools to compile packages in C/C++ as well
>>> (numpy and scipy do this), I find that autotools provides a much more
>>> comfortable and reliable approach, which is more likely to work in
>>> different environments. I feel that porting things to setuptools would
>>> be quite a pain.
>>
>> For Mac, is it possible to make a dmg for installation? (I don't have
>> any experience on making a dmg package). But this could help potential
>> users who want avoid compiling the package themselves (the requirement
>> on gcc 4.4 can be a deal breaker).
>>
>
> It should be possible to make binaries with macports:
>
>    http://guide.macports.org/chunked/using.binaries.html
>
> I'll investigate this possibility for future releases.
>
(Continue reading)

Tiago de Paula Peixoto | 4 May 2012 20:11
Picon
Gravatar

Re: Installing graph-tool using pip

On 05/04/2012 08:07 PM, Peng Yu wrote:
>> As for gcc 4.4, I don't see what is the big deal, since it corresponds
>> to the default apple compiler, AFAIK.
> 
> It depends. For my machine, it is not true.
> 

Which MacOS version do you have?

In any case, apple's GCC 4.4 is available in macports.

Cheers,
Tiago
--

-- 
Tiago de Paula Peixoto <tiago <at> skewed.de>

_______________________________________________
graph-tool mailing list
graph-tool <at> skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool
Peng Yu | 4 May 2012 20:21
Picon

Re: Installing graph-tool using pip

On Fri, May 4, 2012 at 1:11 PM, Tiago de Paula Peixoto <tiago <at> skewed.de> wrote:
> On 05/04/2012 08:07 PM, Peng Yu wrote:
>>> As for gcc 4.4, I don't see what is the big deal, since it corresponds
>>> to the default apple compiler, AFAIK.
>>
>> It depends. For my machine, it is not true.
>>
>
> Which MacOS version do you have?
10.6.8

> In any case, apple's GCC 4.4 is available in macports.

The GCC from macports is different from the native GCC (I remember
something like --arch is not available from the one in macports). It
is just a hassle to use macports GCC.

--

-- 
Regards,
Peng
Phil.Tillet | 5 May 2012 17:26
Picon

Package for Precise Pangolin

Hello there,

The new Ubuntu 12.04 was released a few days ago and I still need graph tool
on my computer.
Is there any release planned on Precise?

Thanks a lot,
Keep up the good work :)

--
View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Package-for-Precise-Pangolin-tp3964750.html
Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
Tiago de Paula Peixoto | 7 May 2012 12:13
Picon
Gravatar

Re: Package for Precise Pangolin

On 05/05/2012 05:26 PM, Phil.Tillet wrote:
> Hello there,
> 
> The new Ubuntu 12.04 was released a few days ago and I still need graph tool
> on my computer.
> Is there any release planned on Precise?

Yes. I'm rolling out a new release, and I'll put out some packages for
the new ubuntu. Stay tuned.

Cheers,
Tiago

--

-- 
Tiago de Paula Peixoto <tiago <at> skewed.de>

_______________________________________________
graph-tool mailing list
graph-tool <at> skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool
Giuseppe Profiti | 14 May 2012 14:55
Picon

Problem with new version on ubuntu oneiric

Hi all,

I'm trying to install the new binary package but I'm having troubles with the dependency from libcairomm-1.0. I already have libcairomm-1.0-1 (version 1.10-0-1) installed, along with libcairomm-1.0-dev (installed while trying to solve this problem).

Before installing the binary release I removed (via make uninstall) a custom build made from git sources.

Any hint? I can't build it from source, because I run out of memory while compiling graph_sfdp.lo (even having 2GB of ram free before running make).

Thanks in advance,
Giuseppe
_______________________________________________
graph-tool mailing list
graph-tool <at> skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool

Gmane