ERROR: Could not find a version that satisfies the requirement nb-conda (from nbdev>=0.2.38->fastbook) (from versions: none)

After setting colab ro tun on GPU I ran the initial code:
!pip install -Uqq fastbook
import fastbook
fastbook.setup_book()

But getting the following error message:

ERROR: Could not find a version that satisfies the requirement nb-conda (from nbdev>=0.2.38->fastbook) (from versions: none)
ERROR: No matching distribution found for nb-conda (from nbdev>=0.2.38->fastbook)

ModuleNotFoundError Traceback (most recent call last)
in ()
1 get_ipython().system(‘pip install -Uqq fastbook’)
----> 2 import fastbook
3 fastbook.setup_book()

ModuleNotFoundError: No module named ‘fastbook’


NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
“Open Examples” button below.

4 Likes

I am getting the same issue. I’ve been using Colab with FastAI v4 Notebooks for about a week and I’ve ran into this issue before (but was quickly resolved after reloading).

I haven’t ran into the same issue until now. But I can’t seem to fix it. I’ve tried reloading, factory resetting runtime, even running this code: pip install fastai --upgrade, toggling between GPU and no GPU

Additionally I’ve also tried on Paperspace Gradient and am getting the same error message

Thanks!

2 Likes

Having the same error as well all of a sudden when this exact code has been working great previously

Just retried and everything is working fine now…Was there an update pushed or did somebody at Google trip over a cord in some datacenter?

1 Like

Try installing nbdev before. It worked for me on Google Colab notebook

!pip install nbdev

!pip install -Uqq fastbook

import fastbook

fastbook.setup_book()

Yup! It works for me now too! :slight_smile:

1 Like