I have a problem installing Python libraries. I tested both from Python Global and Python Local. The library installs successfully but I get an error when running.
www.b4x.com
b4j log:
install log:
os : win 8.1
b4j : v10.2
pybridge :v1.0
jdk : 19
I checked all three runtimes.
1.https://github.com/adang1345/PythonWin7/tree/master/3.13.2
2.b4j internal python runtime
3.https://github.com/winpython/winpython/releases/tag/13.1.202502222final
[PyBridge] Create pdf with fpdf2
https://py-pdf.github.io/fpdf2/index.html This is a console app, based on the console template: [PyBridge] Console (non-ui) project template Dependency: pip install fpdf2 'Html - html string 'img - Background image. Can be array of bytes or a string with the path to the image file. Public...

b4j log:
B4X:
(RuntimeException) java.lang.RuntimeException: (b4xmainpage._htmltopdf) - Python Error (ModuleNotFoundError) - Method: module.exec: No module named 'fpdf'
install log:
B4X:
pip install fpdf2
Requirement already satisfied: fpdf2 in c:\users\admin\downloads\compressed\pyfp
df\b4j\objects\python\python\lib\site-packages (2.8.2)
Requirement already satisfied: defusedxml in c:\users\admin\downloads\compressed
\pyfpdf\b4j\objects\python\python\lib\site-packages (from fpdf2) (0.7.1)
Requirement already satisfied: Pillow!=9.2.*,>=6.2.2 in c:\users\admin\downloads
\compressed\pyfpdf\b4j\objects\python\python\lib\site-packages (from fpdf2) (11.
1.0)
Requirement already satisfied: fonttools>=4.34.0 in c:\users\admin\downloads\com
pressed\pyfpdf\b4j\objects\python\python\lib\site-packages (from fpdf2) (4.55.8)
os : win 8.1
b4j : v10.2
pybridge :v1.0
jdk : 19
I checked all three runtimes.
1.https://github.com/adang1345/PythonWin7/tree/master/3.13.2
2.b4j internal python runtime
3.https://github.com/winpython/winpython/releases/tag/13.1.202502222final
Last edited: