Hi Julio, That is probably because QGIS does not use your system Python, but it's own installed version, so instlaling it in your globabl one does not make it available for QGIS.
I googled (qgis pip install) this one for you: https://landscapearchaeology.org/2018/installing-python-packages-in-qgis-3-for-windows/ Regards, Richard Duivenvoorde On 5/9/22 04:52, julio cesar oliveira via Qgis-user wrote:
Dears, I want to use ReportLab in my own plugin which I have written for QGIS. I have installed ReportLab for the python versions 3.10. The package is respectively installed into the site-packages folder (e.g. C:\Users\olive\AppData\Local\Programs\Python\Python310\Lib\site-packages\reportLab). If I want to use the tool in my plugin (from reportlab.pdfgen import canvas), the plugin returns the error "ImportError: no module named reportLab". ************************************************************************** C:\PyQgis\cav> pip install reportlab Requirement already satisfied: reportlab in c:\users\olive\appdata\local\programs\python\python310\lib\site-packages (3.6.9) Requirement already satisfied: pillow>=4.0.0 in c:\users\olive\appdata\local\programs\python\python310\lib\site-packages (from reportlab) (9.1.0) ************************************************************************** Do you have any other suggestions or ideas? Thanks _______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
