Closed mhooton closed 3 years ago
And the following when pulling from github:
running install
running bdist_egg
running egg_info
writing kelp.egg-info/PKG-INFO
writing dependency_links to kelp.egg-info/dependency_links.txt
writing requirements to kelp.egg-info/requires.txt
writing top-level names to kelp.egg-info/top_level.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'CHANGES.rst'
warning: no files found matching 'LICENSE.rst'
warning: no files found matching '*.pxd' under directory 'kelp'
warning: no files found matching '*' under directory 'scripts'
no previously-included directories found matching 'build'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/api'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.o' found anywhere in distribution
warning: no previously-included files matching '*.fits' found anywhere in distribution
writing manifest file 'kelp.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-x86_64/egg
running install_lib
running build_py
copying kelp/version.py -> build/lib.macosx-10.9-x86_64-3.7/kelp
running build_ext
building 'kelp.fast' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/mhooton/anaconda3/include -arch x86_64 -I/Users/mhooton/anaconda3/include -arch x86_64 -I/Users/mhooton/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/Users/mhooton/anaconda3/include/python3.7m -c kelp/fast.c -o build/temp.macosx-10.9-x86_64-3.7/kelp/fast.o
In file included from /opt/local/lib/gcc10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/syslimits.h:7,
from /opt/local/lib/gcc10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/limits.h:34,
from /Users/mhooton/anaconda3/include/python3.7m/Python.h:11,
from kelp/fast.c:23:
/opt/local/lib/gcc10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/limits.h:195:61: error: no include path in which to search for limits.h
195 | #include_next <limits.h> /* recurse down to the real one */
| ^
In file included from /Users/mhooton/anaconda3/include/python3.7m/Python.h:25,
from kelp/fast.c:23:
/opt/local/lib/gcc10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/stdio.h:78:10: fatal error: _stdio.h: No such file or directory
78 | #include <_stdio.h>
| ^~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
Hi @mhooton! Let's sort this out.
It looks like this is the most likely solution.
Some questions:
I just found that I get a similar issue with the latest kelp on OS X 10.14, which I solved by following these instructions.
Getting the following when upgrading via pip