from setuptools import setup, find_packages
import d2l

requirements = [
    'ipython>=7.23',
    'jupyter',
    'numpy',
    'matplotlib',
    'requests',
    'pandas',
    'gym'
]

setup(
    name='d2l',
    version=d2l.__version__,
    python_requires='>=3.5',
    author='D2L Developers',
    author_email='d2l.devs@gmail.com',
    url='https://d2l.ai',
    description='Dive into Deep Learning',
    license='MIT-0',
    packages=find_packages(),
    zip_safe=True,
    install_requires=requirements,
)

setup.py
from setuptools import setup, find_packages
import d2l

requirements = [
    'jupyter',
    'numpy',
    'matplotlib',
    'matplotlib-inline',
    'requests',
    'pandas',
    'gym'
]

setup(
    name='d2l',
    version=d2l.__version__,
    python_requires='>=3.5',
    author='D2L Developers',
    author_email='d2l.devs@gmail.com',
    url='https://d2l.ai',
    description='Dive into Deep Learning',
    license='MIT-0',
    packages=find_packages(),
    zip_safe=True,
    install_requires=requirements,
)

setup.py
diff --git a/setup.py b/setup.py
index 6f14d25677..66d84387cb 100644
--- a/setup.py
+++ b/setup.py
@@ -2,10 +2,10 @@
 import d2l
 
 requirements = [
-    'ipython>=7.23',
     'jupyter',
     'numpy',
     'matplotlib',
+    'matplotlib-inline',
     'requests',
     'pandas',
     'gym'

ModuleNotFoundError when running the official pytorch colab notebook
![image](https://user-images.githubusercontent.com/33608782/184685789-951935c7-1725-4a23-944d-8d48b32bf76c.png)

I can replicate the error at multiple official pytorch colab notebooks, e.g. 

https://colab.research.google.com/github/d2l-ai/d2l-pytorch-colab/blob/master/chapter_linear-classification/image-classification-dataset.ipynb#scrollTo=ee445cce



