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

AttributeError: module 'ppscore' has no attribute 'predictors' #45

Open
fcamuz opened this issue Oct 26, 2020 · 6 comments
Open

AttributeError: module 'ppscore' has no attribute 'predictors' #45

fcamuz opened this issue Oct 26, 2020 · 6 comments

Comments

@fcamuz
Copy link

fcamuz commented Oct 26, 2020

I am running the following line with all numerical dataset.

pps.predictors(df, "organic")

And, it throws the following error.

AttributeError: module 'ppscore' has no attribute 'predictors'

pps.matrix(df) runs fine.

@FlorianWetschoreck
Copy link
Collaborator

That seems odd.
Can you please share your ppscore version?

@fcamuz
Copy link
Author

fcamuz commented Oct 26, 2020

it is version 0.0.2

@FlorianWetschoreck
Copy link
Collaborator

Please upgrade to the latest version which is 1.1.1.
This should fix the issue

@fcamuz
Copy link
Author

fcamuz commented Nov 9, 2020

Unfortunately, I have upgraded but still has the same problem.

Successfully uninstalled ppscore-0.0.2
Successfully installed ppscore-1.1.1


AttributeError: module 'ppscore' has no attribute 'predictors'

@FlorianWetschoreck
Copy link
Collaborator

This seems odd.
Currently, I think that this has to do with an environment problem on your side. In the notebook where you try to use ppscore, please check the version based on the package that was imported using pps.__version__

@mainguyenanhvu
Copy link

I faced to it. The reason is that I named file ppscore.py.

You can check it. I also use version 1.1.1

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

3 participants