在CygWin上安装打结器

2024-04-16 10:25:34 发布

您现在位置:Python中文网/ 问答频道 /正文

我有这样的问题时,安装打结器使用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?

Tags: inpypandasbinnottarcommandlocate
1条回答
网友
1楼 · 发布于 2024-04-16 10:25:34

看看this link。你知道吗

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

gcc-core : C compiler subpackage

gcc-g++ : C++ subpackage

libgcc1 : C runtime library

gdb : The GNU Debugger

make : The GNU version of the 'make' utility

希望对你有帮助。你知道吗

相关问题 更多 >