Skip to content Skip to sidebar Skip to footer

Run Python Script Through Php On Browser

I have a simple python script. anubhaw.py #!/usr/bin/env python # -*- coding: UTF-8 -*- # enable debugging import cgitb import pandas cgitb.enable() #print 'Content-Type: text/pla

Solution 1:

I encountered the seem issue with 'import pandas', or even with 'import openpyxl'. After try - except and print exception information, it turned out that one file of matplotlib was blocking reading by Webuser. Reinstall matplotlib with pip3 resolved my problem.


Post a Comment for "Run Python Script Through Php On Browser"