pythonanywhere

    0熱度

    1回答

    我試圖上傳一個簡單的認證項目到pythonhosted,它可以在我的本地機器上正常工作並且無錯地生成。 然後我試圖在pythonanywhere中託管這一個。 然而主頁似乎運行,但是,但是當我嘗試使用allauth登錄功能崩潰: python3.4 manage.py makemigrations 或 make rebuild 引發以下錯誤: 這是project的代碼。它是從這個templ

    1熱度

    1回答

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

    2熱度

    1回答

    我正在將django應用程序部署到PythonAnywhere。 環境我使用的是: 的Python 2.7 的Django 1.8 在_pythonanywhere_com_wsgi.py,我有: from django.core.wsgi import get_wsgi_application application = get_wsgi_application() 當我運行它,它給錯誤爲

    0熱度

    1回答

    首先我看過this question。我的問題是我有一個在pythonanywhere上運行的應用程序,該應用程序從服務器上同一目錄中的json文件中讀取信息,並獲取以下錯誤: Internal Server Error:The server encountered an internal error and was unable to complete your request. Either

    4熱度

    1回答

    我無法讀出保存的CSV與Python: import csv with open('blah.csv','rb') as csvfile: data = csv.reader(csvfile) row_count = sum(1 for row in data) print row_count r = 1 for row in data:

    0熱度

    2回答

    我在pythonanywhere上部署了一個應用程序,並設置爲使用自定義域。我正在獲取域名,我想詢問是否有方法通過pythonanywhere提供的CNAME webapp-xxxxxx.pythonanywhere.com訪問我的應用程序。目前試圖訪問它需要我即將到來的頁面。 謝謝。

    0熱度

    1回答

    Im試圖在Pythonanywhere上部署我的應用程序。當我進口下列Django類,它不會承認他們(它在我的本地服務器上的偉大工程): from django.conf.urls import include, url from django.contrib import admin 從urls.py: """general URL Configuration The `urlpatt

    2熱度

    1回答

    我正在按照pinax-project-account入門的確切說明進行操作。你可以看到他們[這裏] [1]。我剛剛創建了我的虛擬環境並安裝了需求。我運行這個命令時出現問題:django-admin.py startproject --template=https://github.com/pinax/pinax-project-account/zipball/master。我得到這個錯誤: Com

    2熱度

    1回答

    嘗試爲我的應用程序創建一個註冊頁面。我使用的Flask框架和MySQL db從pythonanywhere.com。 @app.route('/register/', methods=["GET","POST"]) def register_page(): try: form = RegistrationForm(request.form) if request.me

    2熱度

    3回答

    這段代碼在我的本地機器上運行良好,但是當我在pythonanywhere.com上載並運行它時,它給了我這個錯誤。 我的代碼: url = "http://www.codeforces.com/api/contest.list?gym=false" hdr = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (