I do have a Power BI report with a Python Visualization. When I try to export the report to PDF I get a PDF file with an error message in the area of the python visualization. The error is "Python visuals are a Power BI Pro feature. Only users with a Power BI Pro license can create, view or interact with Python visuals". However I do already have a Power BI Pro license.
I can see the report without issues either in power BI Desktop or in the power bi portal. Also, if I print the report and then I save via the printing driver to PDF it works fine. But I cannot export it via the Power BI portal. Any ideas?
All the python visuals doesn't support the export to PDF. Suppose you have apower BI report with sone default visual and one of them are python visual, then in that case , you will able to see some error message as you mentioned. You can check the publisher of that Power BI python custom visual and check with him. In order to know about the publisher of the visual, select the visual from Visualisation pane and do right click and select "About".
I will always suggest you to use certified custom visual(Blue tick) for your report creation, these certified visual will support all the feature like any other default visual inPower BI.