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

Cannot import "WrappedObjectArray" in python #4040

Closed
shubham808 opened this issue Dec 22, 2017 · 5 comments
Closed

Cannot import "WrappedObjectArray" in python #4040

shubham808 opened this issue Dec 22, 2017 · 5 comments

Comments

@shubham808
Copy link
Contributor

On running examples/meta/python/gaussian_processes/gaussian_process_classifier.py I get the import error both on my system and on shogun cloud.

@karlnapf
Copy link
Member

Ah that is a known problem.
@sorig didn't you recently check this?

workaround: remove that part of the example code, it is only for testing. We will try to fix this soon

@karlnapf
Copy link
Member

If this persists after removing and re-creating the build directory, could you show how you run cmake to reproduce this?

@shubham808
Copy link
Contributor Author

Yes it still persists i used these options with cmake cmake -DENABLE_TESTING=ON -DBUILD_META_EXAMPLES=ON -DINTERFACE_PYTHON=ON ..

@karlnapf
Copy link
Member

I cannot confirm this, i.e. doens't happen on my system.
I guess you can dive in and check it out. The class has guards and you can see whether they are set or not.

BTW I am not sure what you mean when you say you run the example on the shogun cloud? Anyways, the cloud is built with testing disabled, so the class doesn't exist in there

I will close this for now

@shubham808
Copy link
Contributor Author

Yeah it works fine now.
By shogun cloud I meant that when I tried to import the class there it was a cannot import error same as in my system so I thought maybe it's related.
But since it doesn't exist there it makes sense now.

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