notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

sklearn dependency not installable on "Vector Analysis with Scikit-learn and Bokeh" notebook

Open hansent opened this issue 2 years ago • 2 comments
trafficstars

Search before asking

  • [X] I have searched the Roboflow Notebooks issues and found no similar bug report.

Notebook name

Vector Analysis with Scikit-learn and Bokeh

Bug

first code cell fails to run / install pip dependencies because sklearn has been deprecated in favor of scikit-learn. I think just replacing the package name is all thats needed (got a better error message when I was trying to install it locally for a project).

There were still some warnings / errors related to incompatible pandas version for the dependencies, but after swithcing the package names I was able to run the other cells successfully as far as I can tell

Environment

Google Colab

Minimal Reproducible Example

run the first cell in the notebook, without the -qqq parameter:

!pip install  --upgrade roboflow sklearn pandas bokeh
Screenshot 2023-08-08 at 11 39 26 AM

Additional

No response

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

hansent avatar Aug 08 '23 16:08 hansent

👋 Hello @hansent, thank you for leaving an issue on Roboflow Notebooks.

🐞 Bug reports

If you are filing a bug report, please be as detailed as possible. This will help us more easily diagnose and resolve the problem you are facing. To learn more about contributing, check out our Contributing Guidelines.

If you require support with custom code that is not part of Roboflow Notebooks, please reach out on the Roboflow Forum or on the GitHub Discussions page associated with this repository.

💬 Get in touch

Do you have more questions about Roboflow that we haven't responded to yet? Feel free to ask them on the Roboflow Discuss forum. Our developer advocates and community team actively respond to questions there.

To ask questions about Notebooks, head over to the GitHub Discussions section of this repository.

github-actions[bot] avatar Aug 08 '23 16:08 github-actions[bot]

I will file a PR to fix this @hansent.

capjamesg avatar Sep 01 '23 11:09 capjamesg