Ich habe gerade Pip und Python über Home-Brew auf einer frischen Mac OS-Installation installiert.Pip bestätigt Cython nicht
Zunächst einmal installiert mein Pip überhaupt keine Abhängigkeiten - was mich dazu zwingt, 'pip install tables' dreimal zu wiederholen und jedes Mal, wenn es mir eine Abhängigkeit sagt, werde ich das installieren und dann noch einmal ausführen . Ist das erwartetes Verhalten?
Zweitens ist es nicht die Installation von Cython akzeptieren, dass es sich vor Momente installiert:
$ pip show cython
---
Name: Cython
Version: 0.21
Location: /usr/local/lib/python2.7/site-packages
Requires:
Aber
$ 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!
Ich hatte das gleiche Problem auf meiner Ubuntu 14.04.1 Box neulich. Es scheint sich um einen Fehler in Cython zu handeln, der behoben wurde, aber noch nicht in einer Version erstellt wurde: https://github.com/cython/cython/commit/43342ab90704f5f850733544288485048160003d Sie können die PyTables-Quelle bearbeiten, um die richtige Variable von Cython – darthbith
zu erhalten Ich bin kein Pip-Experte, können Sie den Ablauf etwas genauer erklären? – FooBar
Ha! Ich habe es ausgetrickst. Ich habe eine ältere Version von Cython installiert, dann Tabellen und dann Cython aktualisiert. >) – FooBar