I am trying to install graph-tools, I am using an anaconda version of python 2.7, and for some reason the graph-tools configure throws an error that this version of python is too old:
Z:graph-tool-2.2.31 g$ ./configure PYTHON="/g/anaconda/bin/python2.7" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" checking whether /g/anaconda/bin/python2.7 version is >= 2.6... no configure: error: Python interpreter is too old
Wherever possible I install python packages to anaconda’s interpreter and directories.
I use home-brew to install everything else…including boost.
In case it helps, I’ve also attached the log file.
Any direction would be appreciated.
Thanks. Gareth
On 06/24/2014 04:33 PM, Gareth Simons wrote:
I am trying to install graph-tools, I am using an anaconda version of python 2.7, and for some reason the graph-tools configure throws an error that this version of python is too old:
Z:graph-tool-2.2.31 g$ ./configure PYTHON="/g/anaconda/bin/python2.7" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" checking whether /g/anaconda/bin/python2.7 version is >= 2.6... no configure: error: Python interpreter is too old
Wherever possible I install python packages to anaconda’s interpreter and directories.
I use home-brew to install everything else…including boost.
In case it helps, I’ve also attached the log file.
Any direction would be appreciated.
From your log file:
./configure: line 16571: /g/anaconda/bin/python2.7: No such file or directory
Also note that boost-python must be compiled against the same python version with which you intend to use graph-tool.
Best, Tiago
Thanks for the prompt response. However, I am now getting the error that no usable boost::python was found…
I’ve attached the latest log file.
On 24 Jun 2014, at 15:49, Tiago de Paula Peixoto tiago@skewed.de wrote:
On 06/24/2014 04:33 PM, Gareth Simons wrote:
I am trying to install graph-tools, I am using an anaconda version of python 2.7, and for some reason the graph-tools configure throws an error that this version of python is too old:
Z:graph-tool-2.2.31 g$ ./configure PYTHON="/g/anaconda/bin/python2.7" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" checking whether /g/anaconda/bin/python2.7 version is >= 2.6... no configure: error: Python interpreter is too old
Wherever possible I install python packages to anaconda’s interpreter and directories.
I use home-brew to install everything else…including boost.
In case it helps, I’ve also attached the log file.
Any direction would be appreciated.
From your log file:
./configure: line 16571: /g/anaconda/bin/python2.7: No such file or directory
Also note that boost-python must be compiled against the same python version with which you intend to use graph-tool.
Best, Tiago
-- Tiago de Paula Peixoto tiago@skewed.de
graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
On 06/24/2014 04:57 PM, Gareth Simons wrote:
Thanks for the prompt response. However, I am now getting the error that no usable boost::python was found…
Do you have boost-python installed? If so, how is the library called and in what directory does it reside?
Best, Tiago
I installed boost using home-brew: brew install —with-c++11 —build-from-source-boost
It resides in: "usr/local/Cellar/boost/1.55.0-2”
but has an alias / link from: "/usr/local/include/boost"
Thanks, Gareth
On 24 Jun 2014, at 16:19, Tiago de Paula Peixoto tiago@skewed.de wrote:
On 06/24/2014 04:57 PM, Gareth Simons wrote:
Thanks for the prompt response. However, I am now getting the error that no usable boost::python was found…
Do you have boost-python installed? If so, how is the library called and in what directory does it reside?
Best, Tiago
-- Tiago de Paula Peixoto tiago@skewed.de
graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
On 06/24/2014 05:29 PM, Gareth Simons wrote:
I installed boost using home-brew: brew install —with-c++11 —build-from-source-boost
It resides in: "usr/local/Cellar/boost/1.55.0-2”
but has an alias / link from: "/usr/local/include/boost"
In what directory is the shared object file? It should be called something like libboost_python.dylib. You should pass that directory to the LDFLAGS when running the configure script.
Hi, I was unable to find the file…perhaps some sort of complication when boost installs with a non system python location active.
I’ve decided to uninstall home-brew and go with the mac ports route instead. Thanks.
On 24 Jun 2014, at 16:37, Tiago de Paula Peixoto tiago@skewed.de wrote:
On 06/24/2014 05:29 PM, Gareth Simons wrote:
I installed boost using home-brew: brew install —with-c++11 —build-from-source-boost
It resides in: "usr/local/Cellar/boost/1.55.0-2”
but has an alias / link from: "/usr/local/include/boost"
In what directory is the shared object file? It should be called something like libboost_python.dylib. You should pass that directory to the LDFLAGS when running the configure script.
-- Tiago de Paula Peixoto tiago@skewed.de
graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool