새로운 Mac OS 설치시 home-brew를 통해 pip와 Python을 설치했습니다.Pip이 Cython을 인식하지 못함
우선, 필자는 의존성을 전혀 설치하지 않고 있습니다. 'pip install tables'를 3 번 실행해야하고, 의존성을 말할 때마다 다시 설치하고 다시 실행해야합니다. . 이 예상되는 동작입니까?
둘째, 그것은 순간 전에 자체를 설치 한 사이 썬의 설치를 허용하지 않습니다 : 상류 망할 놈의 repo에서 사이 썬 업그레이드
$ pip show cython
---
Name: Cython
Version: 0.21
Location: /usr/local/lib/python2.7/site-packages
Requires:
그러나
$ pip install tables
Downloading/unpacking tables
Downloading tables-3.1.1.tar.gz (6.7MB): 6.7MB downloaded
Running setup.py (path:/private/var/folders/r_/9cc9_ldj7g35cqnfql52hqt80000gn/T/pip_build_excuvator/tables/setup.py) egg_info for package tables
* Using Python 2.7.8 (default, Aug 24 2014, 21:26:19)
* Found numpy 1.9.0 package installed.
* Found numexpr 2.4 package installed.
.. ERROR:: You need Cython 0.13 or greater to compile PyTables!
Complete output from command python setup.py egg_info:
* Using Python 2.7.8 (default, Aug 24 2014, 21:26:19)
* Found numpy 1.9.0 package installed.
* Found numexpr 2.4 package installed.
.. ERROR:: You need Cython 0.13 or greater to compile PyTables!
다른 요일에 내 우분투 14.04.1 상자에서 같은 문제가 발생했습니다. Cython의 버그로 수정되었지만 아직 릴리즈되지 않았습니다 : https://github.com/cython/cython/commit/43342ab90704f5f850733544288485048160003d PyTables 소스를 편집하여 Cython에서 적절한 변수를 얻을 수 있습니다 – darthbith
나는 Pip에 대한 전문가가 아니므로, 좀 더 자세히 설명해 주시겠습니까? – FooBar
하! 나는 그것을 속였다. Cython의 이전 버전을 설치 한 다음 테이블을 설치 한 다음 Cython을 업데이트했습니다. >) – FooBar