Установил LAMP(python) сервер. все по порядку сделал как сказано тут, how to set up LAMP . все работает, записывает данные в mysql и читает тоже.
но когда в основном файле index.py удаляю все и пишу простую команду, например
print('test msg')
и зхожу в localhost на браузере, то ничего не работает и выдает такую ошибку:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@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. Apache/2.4.7 (Ubuntu) Server at localhost Port 80
я в этом новичек первый раз работаю с сервером, Помогите пожfлуйста что делать?
p.s. у меня стоит Ubuntu desktop 14, python 3.4
import pymysql
.