Ich habe einen Pyramid-Server auf einer Openshift Python 3-Patrone, die nicht das Modul Pandas mag, aber ich kann nicht herausfinden, wie es herauszufinden ist, warum es so ist.meine Pyramide mag keine Pandas
In setup.py
Verfahren setuptools.setup
wird mit dem Argument install_requires
mit wenigen Modulen (wie pyramid
, biopython
, numpy
), die gut laufen genannt. Aber wenn ich pandas
hinzufügen, schlägt es fehl. Dies ist, was er sagt, beim Schieben (✱ = Zensieren für zusätzliche Sicherheit):
remote: Installing collected packages: six, python-dateutil, pytz, pandas
remote: Found existing installation: six 1.3.0
remote: Not uninstalling six at /opt/rh/python33/root/usr/lib/python3.3/site-packages, outside environment /var/lib/openshift/✱✱✱✱✱/python/virtenv/venv
remote: Running setup.py install for pandas: started
remote: Running setup.py install for pandas: still running...
remote: Running setup.py install for pandas: still running...
remote: Running setup.py install for pandas: still running...
remote: Running setup.py install for pandas: still running...
remote: Running setup.py install for pandas: still running...
remote: Running setup.py install for pandas: still running...
Connection to pedel2-matteoferla.rhcloud.com closed by remote host.
fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To ssh://pedel2-matteoferla.rhcloud.com/~/git/pedel2.git/
✱✱✱ master -> master
error: failed to push some refs to 'ssh://✱✱✱✱@pedel2-matteoferla.rhcloud.com/~/git/pedel2.git/'
ein Hinzufügen von requirements.txt
Datei hat dies keine Auswirkungen aufgrund Berechtigungsprobleme gesehen auch mit, wenn ich in den Server ssh und Pip es manuell installieren. Nämlich /var/lib/openshift
ist nicht meine virtuelle Umgebung.
remote: Activating virtenv
remote: Checking for pip dependency listed in requirements.txt file..
remote: The directory '/var/lib/openshift/✱✱✱✱/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Pip3 innerhalb der virtuellen Python tut das gleiche.
Easy_install tut es richtig, aber hat keine Erlaubnis, so ist dieser Ansatz sowieso falsch.
pedel2-matteoferla.rhcloud.com bin]\> ./easy_install pandas
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 122] Disk quota exceeded: '/var/lib/openshift/✱✱✱✱/python/virtenv/venv/lib/python3.3/site-packages/test-easy-install-247598.write-test'
Ich nehme an, dass ich das Problem mit setuptools Modul lösen sollte. Was bedeutet, dass ich herausfinden muss, warum von dort. Aber ich stecke fest.
BEARBEITEN. Es ist nicht mein Festplattenkontingent.
Matteos-Air-3:pedel2 matteo$ rhc show-app pedel2 --gears quota
Gear Cartridges Used Limit
------------------------ ---------- ------ -----
✱✱✱✱ python-3.3 268 MB 1 GB
welche Pandas Version haben, können Sie versuchen, zu installieren? – MaxU
Neueste. Dies ist das erste Mal, dass ich versuche, Pandas da oben zu platzieren, also denke ich, es kann kein Versionsding sein. –
Ich habe auch den Server von Grund auf 3 mal zurückgesetzt, um Schäden in ssh -too viele gescheiterte Pips machen den Cache überfluten und ich komme an die Grenze von 1 GB. –