-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Cannot import autosklearn.classification with issue 'undefined symbol: PyFPE_jbuf' #176
Comments
Hi, Please excuse the trouble installing auto-sklearn. We don't yet have any solution for this problem, but in issue #155 they're building a docker image which should alleviate the mentioned problem. The basic problem is the following: https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/cB2lmykcxMI I also just figured out that anaconda actually has a package gcc, which at least in my virtual machine fixes the problem you encountered. Try |
@mfeurer Thanks for your response! The error changed to this >>> import autosklearn.classification
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/leslie/Desktop/auto-sklearn-master/autosklearn/classification.py", line 1, in <module>
from autosklearn.estimators import AutoSklearnClassifier
File "/home/leslie/Desktop/auto-sklearn-master/autosklearn/estimators.py", line 7, in <module>
import autosklearn.automl
File "/home/leslie/Desktop/auto-sklearn-master/autosklearn/automl.py", line 27, in <module>
from autosklearn.smbo import AutoMLSMBO
File "/home/leslie/Desktop/auto-sklearn-master/autosklearn/smbo.py", line 13, in <module>
from smac.smbo.smbo import SMBO, get_types
File "/home/leslie/anaconda3/lib/python3.5/site-packages/smac/smbo/smbo.py", line 15, in <module>
from smac.epm.rf_with_instances import RandomForestWithInstances
File "/home/leslie/anaconda3/lib/python3.5/site-packages/smac/epm/rf_with_instances.py", line 4, in <module>
import pyrfr.regression
ImportError: /home/leslie/anaconda3/lib/python3.5/site-packages/scipy/special/../../../../libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/leslie/anaconda3/lib/python3.5/site-packages/pyrfr/regression.cpython-35m-x86_64-linux-gnu.so) This one has been solved by The issue still comes back to my question, thanks |
Sorry, I'm not sure from your answer whether the problem is actually solved. Not finding libstdc++ seem to be a symptom of using the wrong gcc compiler (see here). Could you please execute the following commands and check whether they help:
If auto-sklearn still fails, could you please paste the output of the |
I really appreciate your help!!! @mfeurer Thanks a lot! lol |
@sfalkner it seems like this is the solution to the pyrfr + gcc + anaconda problem :) |
Hi!
I have heard of lots benefit of auto-sklearn, so recently I also tried to install and use it.
I installed everything under anaconda3, and my Python 3.5 works well on everything but auto-sklearn.
My annoying issues are posted below. I really appreciate it if anyone could fix those for me!
The text was updated successfully, but these errors were encountered: