igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Installing igraph on ubuntu 14.04 64 bit


From: Tamas Nepusz
Subject: Re: [igraph] Installing igraph on ubuntu 14.04 64 bit
Date: Sun, 12 Oct 2014 14:24:09 +0200

Hello,

If you are fine with igraph 0.6.5, why don’t you simply install the 
python-igraph package? (See: http://packages.ubuntu.com/trusty/python-igraph). 
If you need a newer version of python-igraph then your log seems weird because 
the installer from 0.7 should try to download and compile the C core of igraph 
if it finds that it isn’t installed yet (like in your case) instead of 
complaining about the absence of the C core. 

--  
T.

On 10 October 2014 at 23:58:58, Varun RS (address@hidden) wrote:
> Hello Everyone,
>  
> I am trying to install igraph package on ubuntu but it shows up a great
> list of error lines which I'm not able to understand. So, I thought of
> asking you guys for help. These below lines are what I found in the
> terminal when I tried installing the package.
>  
> Thanks Guys
>  
> WARNING: we were not able to detect where igraph is installed on
>  
> your machine (if it is installed at all). We will use the fallback
>  
> library and include pathss hardcoded in setup.py and hope that the
>  
> C core of igraph is installed there.
>  
>  
>  
> If the compilation fails and you are sure that igraph is installed
>  
> on your machine, adjust the following two variables in setup.py
>  
> accordingly and try again:
>  
>  
>  
> - LIBIGRAPH_FALLBACK_INCLUDE_DIRS
>  
> - LIBIGRAPH_FALLBACK_LIBRARY_DIRS
>  
>  
>  
> Build type: dynamic extension
>  
> Include path: /usr/include/igraph /usr/local/include/igraph
>  
> Library path:
>  
> Linked dynamic libraries: igraph
>  
> Linked static libraries:
>  
> Extra compiler options:
>  
> Extra linker options:
>  
> building 'igraph._igraph' extension
>  
> creating build/temp.linux-x86_64-2.7
>  
> creating build/temp.linux-x86_64-2.7/src
>  
> x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
> -Wall -Wstrict-prototypes -fPIC -I/usr/include/igraph
> -I/usr/local/include/igraph -I../../build/include -I../../include
> -I/usr/local/include/igraph -I/usr/include/igraph -I/usr/include/python2.7  
> -c src/random.c -o build/temp.linux-x86_64-2.7/src/random.o
>  
> src/random.c:27:27: fatal error: igraph_random.h: No such file or directory
>  
> #include  
>  
> ^
>  
> compilation terminated.
>  
> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
>  
> ----------------------------------------
> Cleaning up...
> Command /usr/bin/python -c "import setuptools,
> tokenize;__file__='/tmp/pip_build_varun/python-igraph/setup.py';exec(compile(getattr(tokenize,
>   
> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> install --record /tmp/pip-B_7c1W-record/install-record.txt
> --single-version-externally-managed --compile failed with error code 1 in
> /tmp/pip_build_varun/python-igraph
> Traceback (most recent call last):
> File "/usr/bin/pip", line 9, in  
> load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
> File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 185, in main
> return command.main(cmd_args)
> File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in
> main
> text = '\n'.join(complete_log)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 32:
> ordinal not in range(128)
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]