- License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
- Programming Language :: Python :: 2.5
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 3.2
- Topic :: Multimedia
- Topic :: Multimedia :: Graphics
- Topic :: Software Development :: Libraries :: PHP Classes
When you know about this project and you want to new install fpdf to support your project or you get trouble as ModuleNotFoundError: No module named "fpdf" or ImportError: cannot import name "fpdf" in your project, let follow this tutorial to install fpdf
In Windows (CMD):
py -m pip --version
In Unix/macOS:
python3 -m pip --version
Ensure pip, setuptools, and wheel are up to date:
In Windows (CMD):
py -m pip install --upgrade pip setuptools wheel
In Unix/macOS:
python3 -m pip install --upgrade pip setuptools wheel
Optional - If you want to install
In Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_fpdf_env
- Active the virtual environment
test_fpdf_env\Scripts\active
In Unix/macOS:
- Install virtualenv - if you installed it, please ignore
pip3 install virtualenv
- Create a virtual environment
python3 -m venv test_fpdf_env
- Active the virtual environment
source test_fpdf_env/bin/active
To install fpdf on Windows(CMD):
py -m pip install fpdf
To install fpdf on Unix/macOs:
pip install fpdf
Example:
pip install fpdf==1.7
Please see the version list below table:
Version | Released date | Command |
---|---|---|
fpdf 1.7.2 | 2015-01-20T23:43:21 | Windows: Unix/macOs:
|
fpdf 1.7 | 2012-07-15T19:39:59 | Windows: Unix/macOs:
|
Download the distribution file from fpdf-1.7.2.tar.gz or the specific fpdf version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_fpdf_downloaded_file>
On Unix/macOs:
pip install <path_to_fpdf_downloaded_file>
List distribution:
- fpdf-1.7.zip
- fpdf-1.7.2.tar.gz
- fpdf-1.7.2.win-amd64.exe
- fpdf-1.7.2.win32.exe
Project link: