Skip to content

python -m pip install refy #27

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

Closed
imran131399 opened this issue Nov 13, 2023 · 5 comments
Closed

python -m pip install refy #27

imran131399 opened this issue Nov 13, 2023 · 5 comments

Comments

@imran131399
Copy link

Collecting myterial (from refy==1.0.0.8)
Using cached myterial-1.2.1-py3-none-any.whl (6.3 kB)
Collecting rich (from refy==1.0.0.8)
Using cached rich-13.6.0-py3-none-any.whl.metadata (18 kB)
Collecting bibtexparser (from refy==1.0.0.8)
Using cached bibtexparser-1.4.1.tar.gz (55 kB)
Preparing metadata (setup.py) ... done
Collecting xmltodict (from refy==1.0.0.8)
Using cached xmltodict-0.13.0-py2.py3-none-any.whl (10.0 kB)
Collecting sklearn (from refy==1.0.0.8)
Using cached sklearn-0.0.post11.tar.gz (3.6 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
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 ...)
@jjerphan
Copy link
Member

Thank you for the report.

This is a problem with FedeClaudi/refy which currently depends on sklearn instead of scikit-learn.

Feel free to report an issue on refy's issue tracker.

@Devilelal
Copy link

Already installed scikit-learn
But still that problem

@imran131399
Copy link
Author

Already installed scikit-learn
But still that problem

@ogrisel
Copy link
Member

ogrisel commented Nov 17, 2023

@Devilelal and @imran131399: the problem is not about installing scikit-learn but about replacing the browned out sklearn alias dependency by the correct scikit-learn dependency in the metadata of the refy package.

It's up to the maintainers of the refy project to fix this problem. Please open an issue on their tracker if none was already opened.

@ogrisel
Copy link
Member

ogrisel commented Nov 17, 2023

I went ahead an created the PR myself: https://github.com/FedeClaudi/refy/pull/6

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

4 participants