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

Warning from Python when loading the module #65

Open
mwu-tow opened this issue Oct 5, 2018 · 2 comments
Open

Warning from Python when loading the module #65

mwu-tow opened this issue Oct 5, 2018 · 2 comments
Labels
Type: Discussion Requiring further discussion Type: Enhancement Enhancements to the library

Comments

@mwu-tow
Copy link
Contributor

mwu-tow commented Oct 5, 2018

Now (windows branch) Dataframes will automatically load Python interpreter and import necessary modules. This leads to this being printed:

C:\Python37\lib\site-packages\sklearn\externals\joblib\externals\cloudpickle\cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp

sklearn module uses deprecated module, polluting our output. To be decided whether we want to do something about that (or not, as the warning is technically legit, even if coming from third-party).
Related third party issues:
scikit-learn/scikit-learn#12226
cloudpipe/cloudpickle#207

@mwu-tow mwu-tow added Type: Enhancement Enhancements to the library Type: Discussion Requiring further discussion labels Oct 5, 2018
@SwayamDash
Copy link

How to get rid of this?

@mwu-tow
Copy link
Contributor Author

mwu-tow commented Oct 16, 2018

On our side? No idea, haven't looked into this.
But it should be possible to avoid this issue by using proper versions of our Python dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Discussion Requiring further discussion Type: Enhancement Enhancements to the library
Projects
None yet
Development

No branches or pull requests

2 participants