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

installation problems or questions #45

Open
yorjaggy opened this issue Aug 21, 2017 · 1 comment
Open

installation problems or questions #45

yorjaggy opened this issue Aug 21, 2017 · 1 comment

Comments

@yorjaggy
Copy link

Hi, i'm fully interested in use karta for read some files in .asc format, but when i try to install it i there is some problems with gdal library, i did try the installation in multiple ways:

  • in a python clean installation i did follow the instructions in readme file and didn't work.
  • then i try installing conda, but didn't work.
  • And finally, install Cython and then build the files obtained from the git repo but too fails.

Some of the problems that i encountered were:

1 warning and 1 error generated.
    error: command 'clang' failed with exit status 1

`Command "/Users/yor/.pyenv/versions/2.7.8/envs/wallocPython2.7.8venv/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/p6/r47jxx_x7t50v7m1663n29k40000gn/T/pip-build-L5NWYg/gdal/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/p6/r47jxx_x7t50v7m1663n29k40000gn/T/pip-atW8Oc-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/yor/.pyenv/versions/2.7.8/envs/wallocPython2.7.8venv/include/site/python2.7/gdal" failed with error code 1 in /private/var/folders/p6/r47jxx_x7t50v7m1663n29k40000gn/T/pip-build-L5NWYg/gdal/`

I would like to know if there is some especial requeriment? i'm using OSX 10.11.6 with python 2.7 and python 3.4.

Thanks for your help...

@njwilson23
Copy link
Collaborator

Hi @yorjaggy

At first glance, this looks to me like a problem compiling GDAL. Were you able to install GDAL with Python bindings separately? I.e. what happens with

python -c "from osgeo import gdal; print(gdal.__version__)"

If that doesn't work, how about

gdal-config --version

If the first fails, you're missing the GDAL bindings. If the second fails, you're missing GDAL altogether. In either case, you could either build them, install them from conda, or some other way.

If both work, then something else is going on...

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

2 participants