2017-07-27 3 views
1

Ich versuche Pandas auf AWS EC2-Instanz zu installieren, t2.micro RAM-Größe 1 GB, aber es wirft einen Fehler in der MitteAWS Pandas Installation geben ERROR: virtueller Speicher erschöpft: zuteilen Speicher kann nicht

> from pandas/_libs/join.c:435: 
    >  /usr/lib64/python2.7/dist-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
    > warning: #warning "Using deprecated NumPy API, disable it by #defining 
    > NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 
    >  #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" 
    >  ^
    >  virtual memory exhausted: Cannot allocate memory 
    >  error: command 'gcc' failed with exit status 1 
    >  
    >  ---------------------------------------- 
    >  Command "/usr/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-XJKxj6/pandas/setup.py';exec(compile(getattr(tokenize, 
    > 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 
    > 'exec'))" install --record /tmp/pip-QLWuWh-record/install-record.txt 
    > --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-XJKxj6/pandas 

Was könnte das Problem sein? Ist es das Problem mit t2.micro?

Wie viel Speicher benötigt die Pandas-Installation?

+1

ja es ist Ihre Mikroinstanz. Versuchen Sie, auf eine kleine Instanz zu aktualisieren, und es sollte funktionieren. – Deepak

+0

Das gleiche Problem hier. Hat es funktioniert, indem Sie zu einer größeren Instanz gewechselt sind? Oder war das Problem anders? – octavian

+0

Ja. Ich habe die Instanzgröße auf klein erhöht. dann hat es geklappt. –

Antwort

0

Das Problem ist mit der Instanzgröße Mikro. Ich habe die Instanzgröße auf klein erhöht, dann hat es für mich funktioniert.

Verwandte Themen