Open janvanrijn opened 5 years ago
cc @prerna135
As I suggested in automl/fanova#74 it might be due to the wrong gcc version. Could you tell me which gcc version you are using?
I managed to install pyrfr
on a mac by setting export CFLAGS="-Wno-deprecated-declarations -std=c++11 -stdlib=libc++"
and running pip install pyrfr
. I also installed ConfigSpace
before doing this. @janvanrijn
cc @abhinavs95
I also had problems installing on my Mac, but the comment by @prerna135 solved the problem also for me. This should be in the user manual (I am happy to provide a PR)
Worked for me too, used solution by @prerna135
env CFLAGS="-Wno-deprecated-declarations -std=c++11 -stdlib=libc++" pipenv install auto-sklearn
(or pip
if you like) worked for me on macOS X Catalina...
I agree this should be in the documentation. Thank you @prerna135 , I was misleaded by other comments telling to install gcc 9 from homebrew, but the clang will be just fine (and -stdlib=libc++
is not recognized by gcc, anyway, leading to other errors).
It installed and compiled without throwing errors. Now I hope it also works. I tried:
pipenv shell # activate virtualenv
ipython # launch ipython
In [1]: import autosklearn.classification
/Users/vito/.local/share/virtualenvs/python-Z0GfkDos/lib/python3.7/site-packages/pyparsing.py:3172: FutureWarning: Possible set intersection at position 3
self.re = re.compile(self.reString)
/Users/vito/.local/share/virtualenvs/python-Z0GfkDos/lib/python3.7/site-packages/sklearn/ensemble/weight_boosting.py:29: DeprecationWarning: numpy.core.umath_tests is an internal NumPy module and should not be imported. It will be removed in a future NumPy release.
from numpy.core.umath_tests import inner1d
and I hope everything's fine 😅 'cause I can't understand what it means
Installed swig, cmake, gcc in conda, however we get the following error:
Did someone encounter this problem before? Conda version is 4.5.X