2017-08-02 111 views
0

当使用cygwin安装打结器时,我遇到了这样的问题。请帮我解决问题。我试图以管理员身份进行安装,但没有帮助。我也尝试了一些来自这个网站的建议。请任何人都可以帮助我?Kngter在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

查看此链接:http://web.cecs.pdx.edu/~pkwong/ECE103_files/Resources/Compiler/C_GNU/GCC_Installation/How_to_Install_Cygwin+GCC.htm。你必须在你的环境中设置gcc。 – Dalton

+0

谢谢。我已经完成安装打结器,但是我有其他问题。现在我无法运行我已安装的Knotter。这些是使用cygwin运行打结器时显示的代码: – Yusuf

回答

0

看看this link

您必须在您的环境中设置gcc。在cygwin安装,选择下列程序:

GCC-芯:C编译器子包

GCC-克++:C++分装

的libgcc1:C运行时库

GDB:GNU的调试器

make:'make'工具的GNU版本

我希望它有帮助。