Replies: 1 comment 2 replies
-
Thanks for sharing your issue here. Seems like the latest version in Anaconda is 2.3.1: https://anaconda.org/conda-forge/fpdf2/ Whereas the latest version released on Pypi is the v2.4.3: https://pypi.org/project/fpdf2/#history You have the same error when you try to install For each installation method, could you please provide the output of those commands: # python -c "import fpdf; print(fpdf.__file__)"
# cat $(python -c "import fpdf; print(fpdf.__file__)") |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Im not sure this is the right place to post this, but I tried Stack Overflow and dont seem to be getting very far.
Im having a problem using FPDF2.
When I try to import the package, I get the following error:
Input:
from fpdf import FPDF
Response:
I have uninstalled and reinstalled FPDF2 several times, both from PyPI pip install fpdf2 and from anaconda conda install -c conda-forge fpdf2.
Installation is successfull but code keeps running with errors.
I'm using Python 3.8.5, conda 4.10.3 and FPDF2 2.3.1
I can get it to work if I install fpdf instead of FPDF2, but since its an older version lots of things don't work (like UTF encoding).
Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions