Install fastbook from source

I wanted to desperately install fastbook on my own machine with NVIDIA 1080Ti card.

I tried different things among them is one response provided by ChatGPT, but this is also not perfect. Here is the response -

from setuptools import setup, find_packages

        'console_scripts': [
            'fastbook = fastbook.cli:main'
$ python sdist
$ cd dist
$ pip install fastbook-0.1.tar.gz
  Building wheel for fastbook ( ... done
  Created wheel for fastbook: filename=fastbook-0.1-py3-none-any.whl size=15795 sha256=acd4a39885bc5f3b09122946cee49860dc9907940d31a6a881251749babf37ac
  Stored in directory: /home/onkar/.cache/pip/wheels/b5/a4/60/886dc2eb7a0c115b6507d3391c63a1e28fb06fea0635838485
Successfully built fastbook
Installing collected packages: fastbook
Successfully installed fastbook-0.1

$ python -c "import fastbook; print(fastbook-0.1.__version__)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'fastbook'

(fastai23) onkar@HINDUKUSH:~/FASTAI23/fastbook$ pip freeze | grep "fastbook"
fastbook @ file:///home/onkar/FASTAI23/fastbook/dist/fastbook-0.1.tar.gz
(fastai23) onkar@HINDUKUSH:~/FASTAI23/fastbook$

I think I will have to ultimately resort to human experience and expertise :slight_smile: which is still invaluable !

Please help…