Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Machine Learning Machine Learning Basics Writing a Classifier Installing scikit-learn using Anaconda

Carl Taylor
Carl Taylor
21,311 Points

ResolvePackageNotFound

ResolvePackageNotFound:

  • libgfortran==3.0.1=h93005f0_2
  • ncurses==6.0=hd04f020_2
  • xz==5.2.3=h0278029_2
  • libcxxabi==4.0.1=hebd6815_0
  • pip==9.0.1=py36h1555ced_4
  • libedit==3.1=hb4e282d_0
  • wheel==0.30.0=py36h5eb2c71_1
  • scikit-learn==0.19.1=py36hffbff8c_0
  • mkl==2018.0.1=hfbd8650_4
  • libcxx==4.0.1=h579ed51_0
  • openssl==1.0.2n=hdbc3d79_0
  • numpy==1.14.0=py36h8a80b8c_1
  • zlib==1.2.11=hf3cbc9b_2
  • python==3.6.4=hc167b69_1
  • sqlite==3.21.0=h3efe00b_0
  • libffi==3.2.1=h475c297_4
  • readline==7.0=hc1231fa_4
  • scipy==1.0.0=py36h1de22e9_0
  • intel-openmp==2018.0.0=h8158457_8
  • tk==8.6.7=h35a86e2_3
  • ca-certificates==2017.08.26=ha1e5d58_0

2 Answers

Seth Kroger
Seth Kroger
56,413 Points

My answer to a previous question:

"I ran into the same issue on Windows 10 as well. The enviroment.yml includes checksums for specific versions of the packages which are probably the OSX versions. Removing the checksums in a text editor fixes some but not all the errors, because not all packages have versions for every OS.

I've found the project will run just fine under the "base" environment which includes scikit-learn."

Seth Kroger
Seth Kroger
56,413 Points

You can also create a new Python environment in Anaconda Navigator then install scikit-learn to it. It will take care of all the dependencies for you and provide a paired down environment to run the examples.

Mahfoudh Arous
Mahfoudh Arous
4,879 Points

yeah, it works just fine under the "base" environment, thanks for sharing the solution.

Thanks it worked :)