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

Nancy Melucci
PLUS
Nancy Melucci
Courses Plus Student 35,157 Points

Machine Learning Basics won't install in Anaconda. "Resolved Package Not Found" error.

I'd like to do this tutorial. But I am stuck on the step where we try to open iris.csv because (apparently) the machine learning environment won't finish installing. Here's the error it throws:

ResolvePackageNotFound:

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

Can anyone out there help? Is there a new version of this file with the package needed? Do I need to update python? Thanks.

Steven Parker
Steven Parker
229,744 Points

:mailbox_with_mail: Hi, just wanted to let you know that I got your request but I don't have an alternative answer.
Hopefully, Seth's answer will resolve your issue!

2 Answers

Seth Kroger
Seth Kroger
56,413 Points

My answer to a previous question here:

"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."

Nancy Melucci
PLUS
Nancy Melucci
Courses Plus Student 35,157 Points

Yes, SciKit is installed. My week got busy fast but I will try again this weekend. Thanks very much.

Nancy Melucci