Score:0

Unable to install pandas in PYPY3 in Xubuntu

br flag

I am using Python 3.6.9 (7.3.1+dfsg-4, Apr 22 2020, 05:15:29) [PyPy 7.3.1 with GCC 9.3.0] in my Xubuntu. I need to install pandas library. I have already successfully installed numpy. But when I try pypy3 -m pip install pandas I got a long error:

    ----------------------------------------
    ERROR: Failed cleaning build dir for numpy
  Failed to build numpy
  Installing collected packages: wheel, setuptools, numpy, Cython
      Running setup.py install for numpy: started
      Running setup.py install for numpy: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: /usr/bin/pypy3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gpher0s_/numpy_9f2456ae65fe40749181bd0050e0570b/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gpher0s_/numpy_9f2456ae65fe40749181bd0050e0570b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-0ftvn40b/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-8dqfm6qw/overlay --compile --install-headers /tmp/pip-build-env-8dqfm6qw/overlay/include/numpy
           cwd: /tmp/pip-install-gpher0s_/numpy_9f2456ae65fe40749181bd0050e0570b/
      Complete output (358 lines):
      Running from numpy source directory.
  
      Note: if you need reliable uninstall behavior, then install
      with pip instead of using `setup.py install`:
  
        - `pip install .`       (from a git repo or downloaded source
                                 release)
        - `pip install numpy`   (last NumPy release on PyPi)
  
  
      blas_opt_info:
      blas_mkl_info:
      customize UnixCCompiler
        libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
        NOT AVAILABLE
  
      blis_info:
      customize UnixCCompiler
        libraries blis not found in ['/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
        NOT AVAILABLE

Can you help me how to install pandas in PYPY3, please?

zwets avatar
us flag
Does this answer your question? [How do I install Python Pandas?](https://askubuntu.com/questions/70883/how-do-i-install-python-pandas)
vojta avatar
br flag
@zwets No, because it has nothing to do with PYPY3
zwets avatar
us flag
The issue apparently is unmet dependencies, so you will need to install these. The missing `blis` looks like `libblis` to me, so you would `apt install libblis-dev`, and `mkl_rt` might be resolved by `apt install libmkl-dev`. I found these using `apt search`. Why not just do `apt install python3-pandas` or `conda install pandas` (if you need a specific Python version)?
vojta avatar
br flag
I cannot use `sudo apt install python3-pandas`, because want to use PYPY3 as an interpreter. Not python3.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.