Import ErrorAll platformsPython 3.9 · 3.10 · 3.11 · 3.12

ImportError: cannot import name 'fastdownload' from 'fastdownload'

pip install fastdownload
>>> from fastdownload import fastdownload
ImportError: cannot import name 'fastdownload' from 'fastdownload'
(/usr/local/lib/python3.11/site-packages/fastdownload/__init__.py)

Python imports are case-sensitive. The fastdownload package exposes a class called FastDownload (PascalCase), not fastdownload. Searching for the lowercase name returns the module itself, not the class, so Python raises ImportError.

Linux · Python 3.11
lowercase · failsFastDownload · ok
macOS · Python 3.11
lowercase · failsFastDownload · ok
Windows · Python 3.11
lowercase · failsFastDownload · ok

1Use the correct class name FastDownloadEasiest

The class is FastDownload with a capital F and D. Python imports are case-sensitive — the module name fastdownload and the class name FastDownload are distinct.

from fastdownload import FastDownload

# basic usage
dl = FastDownload()
path = dl.download('https://example.com/file.tar.gz')

fastdownload · Compatibility Matrix
See install results across all Python versions and operating systems
Observed in 354 searches · Last verified Aug 2026
ImportError: cannot import name 'fastdownload' from 'fastdownload' — fastdownload