import sys
import os
import logging
# need to add environment to apache's path for includes
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "../../")))
sys.path.append(os
我已經按照步驟和一切工作正常在本地服務器上,但是當我嘗試部署在PythonAnywhere我不斷遇到問題。我不知道我與WSGI文件,所以我只是複製做並粘貼了一些調整,模板: import os
import sys
path = '/home/KTruong88/Kappa_Ranks/Kappa_Ranks/'
if path not in sys.path:
sys.path.app