networkx / networkx-metis

NetworkX Addon to allow graph partitioning with METIS
Other
79 stars 21 forks source link

Installation problem #58

Closed imehrdad2012 closed 8 years ago

imehrdad2012 commented 8 years ago

Hello,

Unfortunately, I cannot install the package with pip:

0587364274:softbox mehrdadmoradi$ pip install networkx-metis Collecting networkx-metis Could not find a version that satisfies the requirement networkx-metis (from versions: ) No matching distribution found for networkx-metis

how can I fix this?

OrkoHunter commented 8 years ago

Hey Mehrdad,

The problem with the installation with pip is because the package has not been uploaded to pypi (cc @hagberg @dschult). Sorry about that. Please go through the installation instructions here and follow the Installation from GitHub part.

imehrdad2012 commented 8 years ago

Thanks for the quick reply. I have previously installed on your package using the source on different machines. However, I am not able to do it again on a fresh EI capitan OSX. I wonder if the following error is something from your side or mine? Thanks.

metis/_metis.c:8599:37: warning: function 'Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration] static CYTHON_INLINE long Pyx_PyInt_As_long(PyObject *x) { clang -bundle -undefined dynamic_lookup build/temp.macosx-10.11-x86_64-2.7/nxmetis/_metis.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -Lbuild/temp.macosx-10.11-x86_64-2.7 -lmetis -lgklib -lgklib -lmetis -o build/lib.macosx-10.11-x86_64-2.7/nxmetis/_metis.so ld: in build/temp.macosx-10.11-x86_64-2.7/libgklib.a(error.o), section DATA/thread_bss extends beyond end of file, for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'clang' failed with exit status 1

imehrdad2012 commented 8 years ago

I found the problem. The new Xcode (7.3) is the reason for this linking error. I have downgraded my xcode to 7.0, and everything works perfectly.

Lamaun commented 4 years ago

Hey Mehrdad,

The problem with the installation with pip is because the package has not been uploaded to pypi (cc @hagberg @dschult). Sorry about that. Please go through the installation instructions here and follow the Installation from GitHub part.

Was there any reason for not uploading?