2

I'm trying to install fastai in anaconda on my laptop, but it's always returning solving environment:failed... for every thing I tried.

I tried using all of these: conda install -c fastai fastai , conda install -c fastai -c pytorch fastai , conda install -c fastai -c pytorch -c anaconda fastai gh anaconda. In the case of the last one, it returned me that there was no 'gh' available to keep going with the installation. I don't know what else to try to solve this, can anyone help me please?

1 Answers1

4

I was able to install fastai in Anaconda using the following command:

conda install -c fastai -c pytorch -c anaconda -c conda-forge fastai gh anaconda

The package gh is available in conda-forge, and added that as the last channel to look for packages. Here is a good SO post explaining the command.

A few notes about my setup:

  • Windows 10
  • Conda 4.8.3, Anaconda Navigator 1.9.12 (Installed last week)

The steps I went through:

  1. I created a new environment in Navigator->Environments
  2. Selected the new environment
  3. Had to install Conda Powershell in the new env, (Navigator indicates this)
  4. Opened a Conda Powershell from navigator
  5. Then ran the command above

It took a while to complete and I was prompted with a question (see image) and entered 'y'

question prompted by the install

Dharman
  • 30,962
  • 25
  • 85
  • 135
BgRva
  • 1,521
  • 12
  • 26