|
From: | Alfred Reich |
Subject: | [igraph] python-igraph 0.7.1-4 doesn't install on Max OS X 10.9.5 |
Date: | Fri, 6 Mar 2015 18:08:27 +0000 |
User-agent: | Microsoft-MacOutlook/14.4.8.150116 |
I’m doing the following:
> brew link homebrew/science/igraph > pip install python-igraph
The brew step appears to work fine, but the pip step doesn’t work (with or without ‘sudo); nor does easy_install.
My version of Python is: Python 2.7.9 |Anaconda 2.1.0 (x86_64)|
I have a 3MB pip.log; here are some excerpts:
/Users/areich/anaconda/bin/pip run on Fri Mar 6 11:30:16 2015 Downloading/unpacking python-igraph Getting page https://pypi.python.org/simple/python-igraph/ URLs to search for versions for python-igraph: * https://pypi.python.org/simple/python-igraph/ Analyzing links from page https://pypi.python.org/simple/python-igraph/ Skipping link https://pypi.python.org/packages/2.4/p/python-igraph/python-igraph-0.5.1.win32-py2.4.exe#md5=aa4d24dbcf599f28fa146d20c4267897 (from https://pypi.python.org/simple/python-igraph/); unknown archive format: .exe
. . .
Found link https://pypi.python.org/packages/source/p/python-igraph/python-igraph-0.7.1-4.tar.gz#md5=a88b0c8ac125de1a2fbf1cb758d0c615 (from https://pypi.python.org/simple/python-igraph/), version: 0.7.1-4 Found link https://pypi.python.org/packages/source/p/python-igraph/python-igraph-0.7.tar.gz#md5=37d53b040ac88908b4705ed18064b5fd (from https://pypi.python.org/simple/python-igraph/), version: 0.7 Using version 0.7.1-4 (newest of versions: 0.7.1-4, 0.7.1-3, 0.7.1-2, 0.7.1-1, 0.7, 0.6.5, 0.6, 0.5.4, 0.5.3, 0.5.2, 0.5.1, 0.5) Downloading from URL https://pypi.python.org/packages/source/p/python-igraph/python-igraph-0.7.1-4.tar.gz#md5=a88b0c8ac125de1a2fbf1cb758d0c615 (from https://pypi.python.org/simple/python-igraph/) Running setup.py (path:/private/tmp/pip_build_root/python-igraph/setup.py) egg_info for package python-igraph /Users/areich/anaconda/lib/python2.7/site-packages/setuptools/dist.py:283: UserWarning: The version specified requires normalization, consider using '0.7.1.post4' instead of '0.7.1-4'. self.metadata.version, running egg_info
. . .
running build_ext Cannot find the C core of igraph on this system using pkg-config. We will now try to download and compile the C core from scratch. Version number of the C core: 0.7.1-4 We will also try: 0.7.1
Using temporary directory: /private/tmp/pip_build_root/python-igraph/tmp/igraph.MXEo34 . . .
grep: /usr/lib/libiconv.la: No such file or directory
sed: /usr/lib/libiconv.la: No such file or directory
libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
make[3]: *** [libigraph.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Extracting igraph-0.7.1.tar.gz...
Configuring igraph...
Could not download and compile the C core of igraph.
---------------------------------------- Cleaning up... Removing temporary dir /private/tmp/pip_build_root... Command /Users/areich/anaconda/bin/python -c "import setuptools, tokenize;__file__='/private/tmp/pip_build_root/python-igraph/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-IuUji3-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/tmp/pip_build_root/python-igraph Exception information: Traceback (most recent call last): File "/Users/areich/anaconda/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main status = self.run(options, args) File "/Users/areich/anaconda/lib/python2.7/site-packages/pip/commands/install.py", line 283, in run requirement_set.install(install_options, global_options, root=options.root_path) File "/Users/areich/anaconda/lib/python2.7/site-packages/pip/req.py", line 1435, in install requirement.install(install_options, global_options, *args, **kwargs) File "/Users/areich/anaconda/lib/python2.7/site-packages/pip/req.py", line 706, in install cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False) File "/Users/areich/anaconda/lib/python2.7/site-packages/pip/util.py", line 697, in call_subprocess % (command_desc, proc.returncode, cwd)) InstallationError: Command /Users/areich/anaconda/bin/python -c "import setuptools, tokenize;__file__='/private/tmp/pip_build_root/python-igraph/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-IuUji3-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/tmp/pip_build_root/python-igraph |
[Prev in Thread] | Current Thread | [Next in Thread] |