【发布时间】: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?
【问题讨论】:
-
看看这个链接:web.cecs.pdx.edu/~pkwong/ECE103_files/Resources/Compiler/C_GNU/…。您必须在您的环境中设置 gcc。
-
谢谢。我已经完成了打结器的安装,但是我还有其他问题。现在我无法运行我安装的 Knotter。这些是使用 cygwin 运行打结器时显示的代码:
标签: python gcc installation