Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Solving Environment" during `conda install -c <my_channel> tensorflow` takes 3+ min but changing the name a bit reduces the time significantly

I am writing a custom conda package for tensorflow. When I name the package "tensorflow" it takes it more than 3 minutes to get past the "solving environment" part but if I change the package name even a little bit, to "tensorflowp3" it loads in around 10 seconds. I am using the commands -

conda install -c <my_channel> tensorflow

conda install -c <my_package> tensorflowp3

I am not sure why setting a slightly different package name causes such a significant time change. I am specifying which channel the package should be loaded from in the command as well. I have tried doing the same with locally stored packages using the --use-local tag as well but it still behaves the same way as with the channel name. Any help would be very appreciated.

like image 924
Nikhil Dhanda Avatar asked Jun 08 '18 17:06

Nikhil Dhanda


1 Answers

I solved by doing this

  1. open Anaconda Navigator application
  2. select Environment from menu
  3. choose the environment you wanna use (base enviroment if you don't use multiple enviroments)
  4. Update index
  5. Click on channels and remove all eventual channel, but default

Now, for me it takes a reasonable abount of time to install a new packet.

like image 149
Mattia Podio Avatar answered Nov 03 '22 13:11

Mattia Podio