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

TypeError: 'numpy._DTypeMeta' object is not subscriptable #654

Open
fredxu-8451 opened this issue Aug 9, 2023 · 3 comments
Open

TypeError: 'numpy._DTypeMeta' object is not subscriptable #654

fredxu-8451 opened this issue Aug 9, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@fredxu-8451
Copy link

Describe the bug
can't not load LRSRefressor function or any functions due to TypeError: 'numpy._DTypeMeta' object is not subscriptable

To Reproduce
Steps to reproduce the behavior:
pip install causalml
from causalml.inference.meta import XGBTRegressor, MLPTRegressor

Expected behavior
I can get this work on 08/05/2023, but not today 08/09/2023

Screenshots
If applicable, add screenshots to help explain your problem.
image

Environment (please complete the following information):

  • OS: Windows
  • Python Version: 3.9.5
@fredxu-8451 fredxu-8451 added the bug Something isn't working label Aug 9, 2023
@vincewu51 vincewu51 self-assigned this Aug 18, 2023
@vincewu51 vincewu51 mentioned this issue Aug 19, 2023
10 tasks
@vincewu51
Copy link
Collaborator

Hi, @fredxu-8451, thanks for reporting. I cannot reproduce the error.
Screenshot 2023-08-18 at 5 44 37 PM

Could you try to reinstall causalml. Let me know if it helps.

@fredxu-8451
Copy link
Author

Hi, @fredxu-8451, thanks for reporting. I cannot reproduce the error. Screenshot 2023-08-18 at 5 44 37 PM

Could you try to reinstall causalml. Let me know if it helps.

I have reinstalled 'causalml' several times and the issue remained.

@vincewu51
Copy link
Collaborator

vincewu51 commented Aug 22, 2023

Could you please provide more info on your env so I can reproduce the error? (dependencies listed here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants