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

I'm getting error while importing environment.yml file. I'm using windows OS.

ResolvePackageNotFound:

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

4 Answers

Same

same

same

I ended up creating a blank environment in anaconda and then searching for the packages using the env file they provided

Here is the env file incase future people may find it useful, running on Ubuntu 22.04 on AMD64

name: TreehouseMachineLearningBasics channels:

  • defaults dependencies:
  • _libgcc_mutex=0.1=main
  • _openmp_mutex=5.1=1_gnu
  • blas=1.0=openblas
  • bzip2=1.0.8=h7b6447c_0
  • ca-certificates=2022.10.11=h06a4308_0
  • certifi=2022.9.24=py310h06a4308_0
  • fftw=3.3.9=h27cfd23_1
  • intel-openmp=2022.1.0=h9e868ea_3769
  • joblib=1.1.1=py310h06a4308_0
  • ld_impl_linux-64=2.38=h1181459_1
  • libcxx=14.0.6=h83ecd13_0
  • libcxxabi=14.0.6=h06a4308_0
  • libedit=3.1.20210910=h7f8727e_0
  • libffi=3.3=he6710b0_2
  • libgcc-ng=11.2.0=h1234567_1
  • libgfortran-ng=11.2.0=h00389a5_1
  • libgfortran5=11.2.0=h1234567_1
  • libgomp=11.2.0=h1234567_1
  • libopenblas=0.3.21=h043d6bf_0
  • libstdcxx-ng=11.2.0=h1234567_1
  • libuuid=1.0.3=h7f8727e_2
  • mkl=2022.1.0=hc2b9512_224
  • ncurses=6.3=h5eee18b_3
  • numpy=1.23.3=py310hac523dd_1
  • numpy-base=1.23.3=py310h375b286_1
  • openssl=1.1.1q=h7f8727e_0
  • pip=22.2.2=py310h06a4308_0
  • python=3.10.6=haa1d7c7_1
  • readline=8.2=h5eee18b_0
  • scikit-learn=1.1.2=py310h6a678d5_0
  • scipy=1.9.1=py310heeff2f4_0
  • setuptools=65.5.0=py310h06a4308_0
  • sqlite=3.39.3=h5082296_0
  • threadpoolctl=2.2.0=pyh0d69192_0
  • tk=8.6.12=h1ccaba5_0
  • tzdata=2022f=h04d1e81_0
  • wheel=0.37.1=pyhd3eb1b0_0
  • xz=5.2.6=h5eee18b_0
  • zlib=1.2.13=h5eee18b_0