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 <igraph_random.h>

                           ^

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 <module>
    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
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to