Forums

I tried to install pandas==0.22 through pip but fail

I tried to install pandas==0.22 through pip but fail. Below is the error message. Any fix?

Command "/home/Kaye/.virtualenvs/mysite-virtualenv/bin/python3.4 -u -c "import setuptools, tokenize;file='/tmp/pip-build-ulwe3ga9/pandas/setup.py';f=geta ttr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-szziukd0 -record/install-record.txt --single-version-externally-managed --compile --install-headers /home/Kaye/.virtualenvs/mysite-virtualenv/include/site/python3.4/p andas" failed with error code 1 in /tmp/pip-build-ulwe3ga9/pandas/

What was the command you used?

Are you following this help page?

i tried pip install pandas and pip install pandas==0.22

The page that conrad linked to explains why that won't work and gives alternative options.

I tried following the article with using virtual environment but it didn't help This is my command: (mysite-virtualenv) 08:50 ~/pitching $ pip install pandas

Error Message: /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/numpy/core/include/numpy/n py_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defin ing NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ In file included from pandas/libs/hashtable.c:529:0: pandas/_libs/src/klib/khash_python.h: In function ‘asint64’: pandas/_libs/src/klib/khash_python.h:17:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return (khint64_t )(&key); ^ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -W format -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/pandas/_libs/hashtabl e.o -o build/lib.linux-x86_64-3.4/pandas/_libs/hashtable.cpython-34m.so cythoning pandas/_libs/index.pyx to pandas/_libs/index.c building 'pandas._libs.index' extension creating build/temp.linux-x86_64-3.4/pandas/_libs/src creating build/temp.linux-x86_64-3.4/pandas/_libs/src/datetime x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-prote ctor --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ipandas/ libs/src/klib -Ipandas/libs/src -I/home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-pack ages/numpy/core/include -I/usr/include/python3.4m -I/home/Kaye/.virtualenvs/mysite-virtualenv/includ e/python3.4m -c pandas/_libs/index.c -o build/temp.linux-x86_64-3.4/pandas/_libs/index.o -Wno-unused -function In file included from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarraytypes.h:1816:0, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarrayobject.h:18, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/arrayobject.h:4, from pandas/_libs/index.c:526: /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/numpy/core/include/numpy/n py_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defin ing NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ In file included from pandas/_libs/index.c:531:0: pandas/_libs/src/klib/khash_python.h: In function ‘asint64’: pandas/_libs/src/klib/khash_python.h:17:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return (khint64_t )(&key); ^ pandas/_libs/index.c: In function ‘__pyx_f_6pandas_5_libs_5index__bin_search’: pandas/_libs/index.c:9496:13: warning: ‘__pyx_v_mid’ may be used uninitialized in this function [-Wmaybe-uninitialized] __pyx_t_5 = PyInt_FromSsize_t(__pyx_v_mid); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 380, __pyx _L1_error) ^ x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-prote ctor --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ipandas/ libs/src/klib -Ipandas/_libs/src -I/home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-pack ages/numpy/core/include -I/usr/include/python3.4m -I/home/Kaye/.virtualenvs/mysite-virtualenv/includ e/python3.4m -c pandas/_libs/src/datetime/np_datetime.c -o build/temp.linux-x86_64-3.4/pandas/_libs/ src/datetime/np_datetime.o -Wno-unused-function In file included from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarraytypes.h:1816:0, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarrayobject.h:18, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/arrayobject.h:4, from pandas/_libs/src/datetime/np_datetime.c:22: /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/numpy/core/include/numpy/n py_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defin ing NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ In file included from pandas/_libs/src/datetime/np_datetime.c:20:0: /usr/include/python3.4m/datetime.h:191:25: warning: ‘PyDateTimeAPI’ defined but not used [-Wunus ed-variable] static PyDateTime_CAPI PyDateTimeAPI = NULL; ^ x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-prote ctor --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ipandas/ libs/src/klib -Ipandas/_libs/src -I/home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-pack ages/numpy/core/include -I/usr/include/python3.4m -I/home/Kaye/.virtualenvs/mysite-virtualenv/includ e/python3.4m -c pandas/_libs/src/datetime/np_datetime_strings.c -o build/temp.linux-x86_64-3.4/panda s/_libs/src/datetime/np_datetime_strings.o -Wno-unused-function In file included from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarraytypes.h:1816:0, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarrayobject.h:18, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/arrayobject.h:4, from pandas/_libs/tslibs/timedeltas.c:526: /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/numpy/core/include/numpy/n py_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defin ing NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -W format -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/pandas/_libs/tslibs/t imedeltas.o -o build/lib.linux-x86_64-3.4/pandas/_libs/tslibs/timedeltas.cpython-34m.so cythoning pandas/_libs/window.pyx to pandas/_libs/window.c building 'pandas._libs.window' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-prote ctor --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ipandas/ libs/src/klib -Ipandas/libs/src -I/home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-pack ages/numpy/core/include -I/usr/include/python3.4m -I/home/Kaye/.virtualenvs/mysite-virtualenv/includ e/python3.4m -c pandas/_libs/window.c -o build/temp.linux-x86_64-3.4/pandas/_libs/window.o -Wno-unus ed-function In file included from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarraytypes.h:1816:0, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/arrayobject.h:4, from pandas/_libs/window.c:526: /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/numpy/core/include/numpy/n py_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defin ing NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ pandas/_libs/window.c: In function ‘__pyx_pf_6pandas_5_libs_6window_26roll_window.isra.114’: pandas/_libs/window.c:39510:21: warning: ‘__pyx_pybuffernd_tot_wgt.diminfo[0].strides’ may be us ed uninitialized in this function [-Wmaybe-uninitialized] __Pyx_LocalBuf_ND __pyx_pybuffernd_tot_wgt; ^ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -W format -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/pandas/_libs/window.o -o build/lib.linux-x86_64-3.4/pandas/_libs/window.cpython-34m.so cythoning pandas/_libs/algos.pyx to pandas/_libs/algos.c building 'pandas._libs.algos' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-prote ctor --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ipandas/ libs/src/klib -Ipandas/libs/src -I/home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-pack ages/numpy/core/include -I/usr/include/python3.4m -I/home/Kaye/.virtualenvs/mysite-virtualenv/includ e/python3.4m -c pandas/_libs/algos.c -o build/temp.linux-x86_64-3.4/pandas/_libs/algos.o -Wno-unused -function In file included from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarraytypes.h:1816:0, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarrayobject.h:18, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/arrayobject.h:4, from pandas/_libs/algos.c:526: /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/numpy/core/include/numpy/n py_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defin ing NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -W format -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/pandas/_libs/algos.o -o build/lib.linux-x86_64-3.4/pandas/_libs/algos.cpython-34m.so cythoning pandas/_libs/parsers.pyx to pandas/_libs/parsers.c building 'pandas._libs.parsers' extension creating build/temp.linux-x86_64-3.4/pandas/_libs/src/parser x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-prote ctor --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ipandas/ libs/src/klib -Ipandas/_libs/src -I/home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-pack ages/numpy/core/include -I/usr/include/python3.4m -I/home/Kaye/.virtualenvs/mysite-virtualenv/includ e/python3.4m -c pandas/_libs/parsers.c -o build/temp.linux-x86_64-3.4/pandas/_libs/parsers.o -Wno-un used-function In file included from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarraytypes.h:1816:0, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarrayobject.h:18, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/arrayobject.h:4, from pandas/_libs/parsers.c:528: /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/numpy/core/include/numpy/n py_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defin ing NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ In file included from pandas/_libs/parsers.c:532:0: pandas/_libs/src/klib/khash_python.h: In function ‘asint64’: pandas/_libs/src/klib/khash_python.h:17:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return (khint64_t )(&key); ^ pandas/libs/parsers.c: In function ‘__pyx_f_6pandas_5_libs_7parsers_10TextReader__get_header’: pandas/_libs/parsers.c:9603:26: warning: ‘__pyx_v_data_line’ may be used uninitialized in this f unction [-Wmaybe-uninitialized] __pyx_t_5numpy_int64_t __pyx_v_data_line; ^ x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-prote ctor --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ipandas/ libs/src/klib -Ipandas/libs/src -I/home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-pack ages/numpy/core/include -I/usr/include/python3.4m -I/home/Kaye/.virtualenvs/mysite-virtualenv/includ e/python3.4m -c pandas/_libs/src/parser/tokenizer.c -o build/temp.linux-x86_64-3.4/pandas/_libs/src/ parser/tokenizer.o -Wno-unused-function x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-prote ctor --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ipandas/ libs/src/klib -Ipandas/libs/src -I/home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-pack ages/numpy/core/include -I/usr/include/python3.4m -I/home/Kaye/.virtualenvs/mysite-virtualenv/includ e/python3.4m -c pandas/_libs/src/parser/io.c -o build/temp.linux-x86_64-3.4/pandas/_libs/src/parser/ io.o -Wno-unused-function x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -W format -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/pandas/_libs/parsers. o build/temp.linux-x86_64-3.4/pandas/_libs/src/parser/tokenizer.o build/temp.linux-x86_64-3.4/pandas /_libs/src/parser/io.o -o build/lib.linux-x86_64-3.4/pandas/_libs/parsers.cpython-34m.so cythoning pandas/_libs/join.pyx to pandas/_libs/join.c building 'pandas._libs.join' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-prote ctor --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ipandas/ libs/src/klib -Ipandas/_libs/src -I/home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-pack ages/numpy/core/include -I/usr/include/python3.4m -I/home/Kaye/.virtualenvs/mysite-virtualenv/includ e/python3.4m -c pandas/_libs/join.c -o build/temp.linux-x86_64-3.4/pandas/_libs/join.o -Wno-unused-f unction In file included from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarraytypes.h:1816:0, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/ndarrayobject.h:18, from /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/nump y/core/include/numpy/arrayobject.h:4, from pandas/_libs/join.c:526: /home/Kaye/.virtualenvs/mysite-virtualenv/lib/python3.4/site-packages/numpy/core/include/numpy/n py_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defin ing NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ In file included from pandas/_libs/join.c:529:0: pandas/_libs/src/klib/khash_python.h: In function ‘asint64’: pandas/_libs/src/klib/khash_python.h:17:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return (khint64_t *)(&key); ^ pandas/_libs/join.c: At top level: pandas/_libs/join.c:182104:1: fatal error: error closing /tmp/ccZAYyKP.s: Disk quota exceeded } ^ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Failed building wheel for pandas

See where it says "Disk quota exceeded"? That means you've run out of space in your account. See http://help.pythonanywhere.com/pages/DiskQuotaExceeded/