【问题标题】:Knotter Install on CygWin在 CygWin 上安装 Knotter
【发布时间】:2017-08-02 01:35:49
【问题描述】:

我在使用 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?

【问题讨论】:

标签: python gcc installation


【解决方案1】:

看看this link

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

gcc-core : C 编译器子包

gcc-g++ : C++ 子包

libgcc1 : C 运行时库

gdb:GNU 调试器

make :“make”实用程序的 GNU 版本

希望对你有帮助。

【讨论】:

    猜你喜欢
    • 2011-08-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-09-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多