Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install datadotworld\[pandas\] fails on macOS #117

Open
dheerajchand opened this issue Nov 3, 2020 · 0 comments
Open

pip install datadotworld\[pandas\] fails on macOS #117

dheerajchand opened this issue Nov 3, 2020 · 0 comments

Comments

@dheerajchand
Copy link

dheerajchand commented Nov 3, 2020

Hi,

macOS 10.15.7 , Homebrew Python 3.9

I'm getting a clang and pandas error. clang is installed via Homebrew and is fine. Pandas is fine in the virtualenv, too.

This is the relevant part of the error:

      File "/private/var/folders/2h/qd0400yx26lbw_dr74fyjjv40000gn/T/pip-install-p2t1aktb/pandas/setup.py", line 366, in check_cython_extensions
        raise Exception("""Cython-generated file '{src}' not found.
    Exception: Cython-generated file 'pandas/_libs/algos.c' not found.
                    Cython is required to compile pandas from a development branch.
                    Please install Cython or download a release package of pandas.

    ----------------------------------------
  Rolling back uninstall of pandas
  Moving to /Users/dheerajchand/.virtualenvs/geo3/lib/python3.8/site-packages/pandas-1.1.2.dist-info/
   from /Users/dheerajchand/.virtualenvs/geo3/lib/python3.8/site-packages/~andas-1.1.2.dist-info
  Moving to /Users/dheerajchand/.virtualenvs/geo3/lib/python3.8/site-packages/pandas/
   from /Users/dheerajchand/.virtualenvs/geo3/lib/python3.8/site-packages/~andas
ERROR: Command errored out with exit status 1: /Users/dheerajchand/.virtualenvs/geo3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/2h/qd0400yx26lbw_dr74fyjjv40000gn/T/pip-install-p2t1aktb/pandas/setup.py'"'"'; __file__='"'"'/private/var/folders/2h/qd0400yx26lbw_dr74fyjjv40000gn/T/pip-install-p2t1aktb/pandas/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/2h/qd0400yx26lbw_dr74fyjjv40000gn/T/pip-record-98rxt208/install-record.txt --single-version-externally-managed --compile --install-headers /Users/dheerajchand/.virtualenvs/geo3/include/site/python3.8/pandas Check the logs for full command output.
 ~ 

Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant