2017-08-02 3 views
0

J'ai un problème comme celui-ci lors de l'installation de noueur en utilisant cygwin. S'il vous plaît aidez-moi à résoudre le problème. J'ai essayé de l'installer en tant qu'administrateur, mais cela n'a pas aidé. J'ai aussi essayé quelques suggestions de ce site. S'il vous plaît, n'importe qui peut m'aider?Installation de Knotter sur CygWin

$ pip install knotter 
Collecting knotter 
    Using cached knotter-0.2.6.tar.gz 
Collecting aiohttp>=0.16.5 (from knotter) 
    Using cached aiohttp-2.2.3.tar.gz 
Collecting pandas>=0.16.2 (from knotter) 
    Using cached pandas-0.20.3.tar.gz 
    Complete output from command python setup.py egg_info: 
    /bin/sh: svnversion: command not found 
    /bin/sh: svnversion: command not found 
    non-existing path in 'numpy/distutils': 'site.cfg' 
    Could not locate executable g77 
    Could not locate executable f77 
    Could not locate executable ifort 
    Could not locate executable ifl 


1.13.1/numpy/distutils/command/build_src.py", line 377, in generate_sources 
      File "numpy/core/setup.py", line 674, in get_mathlib_info 
      'pandas.tests.io.json', 
     RuntimeError: Broken toolchain: cannot link a simple C program 
     /bin/bash: gcc: command not found 
     /bin/bash: gcc: command not found 

     ---------------------------------------- 
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-5ru8gzrw/pandas/ 

What should I do to solve this problem? 
+0

Jetez un oeil à ce lien: http://web.cecs.pdx.edu/~pkwong/ECE103_files/Resources/Compiler/C_GNU/GCC_Installation/How_to_Install_Cygwin+GCC.htm. Vous devez configurer gcc dans votre environnement. – Dalton

+0

Merci. J'ai fini d'installer le noueur, mais j'ai d'autres problèmes. Maintenant, je ne peux pas lancer le Knotter que j'ai installé. Voici le code affiché lors de l'exécution de knotter avec cygwin: – Yusuf

Répondre

0

Regardez this link.

Vous devez installer gcc dans votre environnement. Dans l'installation cygwin, sélectionner les programmes suivants:

gcc-core: compilateur C sous-paquetages

gcc-g ++: C++ subpackage

libgcc1: bibliothèque d'exécution C

gdb: La GNU Debugger

make: la version GNU de l'utilitaire make

J'espère que ça aide.