rbardaji / mooda

Module for Ocean Observatory Data Analysis - Python package
MIT License
18 stars 3 forks source link

sklearn and scikit-learn is not working together #10

Open matthiasbirkich opened 2 weeks ago

matthiasbirkich commented 2 weeks ago

Describe the bug When I install KduPRO data analysis package for python with your "mooda" module I get an error message. I am not able to delete sklearn from your requirements.txt and that causes, that I am not able to use the data analysis pack. Are you so kind enough to help me out with that? Best regards, Matthias. Error: The 'sklearn' PyPI package is deprecated, use 'scikit-learn' rather than 'sklearn' for pip commands.

  Here is how to fix this error in the main use cases:
  - use 'pip install scikit-learn' rather than 'pip install sklearn'
  - replace 'sklearn' by 'scikit-learn' in your pip requirements files
    (requirements.txt, setup.py, setup.cfg, Pipfile, etc ...)
  - if the 'sklearn' package is used by one of your dependencies,
    it would be great if you take some time to track which package uses
    'sklearn' instead of 'scikit-learn' and report it to their issue tracker
  - as a last resort, set the environment variable
    SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True to avoid this error

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

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

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Carlos-Rodero commented 1 week ago

Hi @matthiasbirkich,

My name is Carlos Rodero. I'm now involved in the development of the KduPRO project and its new improvements. I think we can better discuss by mail what you need with the KduPRO and see how I can help you. You can contact me by this mail: rodero@icm.csic.es

Thanks for using KdUINO/KduPRO devices!