I set up a xampp-server using the highest rated answer of this thread: Running Python scripts with Xampp It is supposed to run Python-scripts. Starting a simple python file in the browser:
#!C:/Users/gfranosc/Downloads/Python/python.exe
from LambWaveModes import *
print("Content-Type: text/html\n")
print("Hi")
print('Beliebig viele Sachen')
LWM(Steifmat=[[[3.5,1.5,0],[1.5,3.5,0],[0,0,1]],[[103.08e9,2.8189e9,0],[2.8189e9,5.6469e9,0],[0,0,3.2727e9]]],rho=[1,1490],layer_thickness=[1,1],name="dataset_med",folder='dataset_1',color=0)
print('Hier bin ich nun')
The code runs fine, if i comment out the "from LambWaveModes import *" line. If i dont comment it out i get:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at postmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.4.29 (Win32) OpenSSL/1.1.0g PHP/7.2.1 Server at localhost Port 80
How can i solve this problem?