New Ribbon
用Canva設計超快超質感(第2版):商業設計、簡報、影片、網頁、電子書與AI應用最速技 AI繪圖工具 × AI視覺設計平台,從圖像生成到專業設計! 最強職場助攻!ChatGPT + AI 高效工作術 短影音制霸:打造TikTok、YT Shorts、IG Reels成功方程式與AI高效創作力 Canva+AI創意設計與品牌應用250招:從商業技巧、社群祕技到AI圖文影音特效 快快樂樂學威力導演2024.影音剪輯與AI精彩創作 Power Automate自動化超效率工作術 Midjourney AI圖像魔導書:搭配ChatGPT魔法加倍 超人氣FB+IG+LINE社群經營與行銷力(第二版) 翻倍效率工作術:不會就太可惜的 Excel × ChatGPT 自動化應用 AppInventor2零基礎入門班中文版(第六版) Python零基礎入門班(第四版) C語言學習聖經 用Canva設計超快超質感:平面、網頁、電子書、簡報、影片製作與AI繪圖最速技 PHP8/MySQL網頁程式設計自學聖經 翻倍效率工作術 - 不會就太可惜的Power BI大數據視覺圖表設計與分析(第三版) 社群經營一定要會的影音剪輯與動畫製作術 Notion高效管理250招:筆記×資料庫×團隊協作,數位生活與工作最佳幫手 Office 2021高效實用範例必修16課(附500分鐘影音教學/範例檔) Excel自學聖經(第二版):從完整入門到職場活用的技巧與實例大全

 

  Python 與 LINE Bot   專案 makemigrations

JJ

JJ
更新時間:2019/10/18 上午 11:51:40

 

請問我做 linebotTranslate 專案的 makemigrations 有以下錯誤,可能是什麼原因呢 ? TKS !

-----------------------------

(base) D:\linebotTranslate>python manage.py makemigrations

Traceback (most recent call last):
  File "manage.py", line 15, in <module>
    execute_from_command_line(sys.argv)
  File "D:\Python\INST\lib\site-packages\django\core\management\__init__.py", li
ne 381, in execute_from_command_line
    utility.execute()
  File "D:\Python\INST\lib\site-packages\django\core\management\__init__.py", li
ne 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "D:\Python\INST\lib\site-packages\django\core\management\base.py", line 3
23, in run_from_argv
    self.execute(*args, **cmd_options)
  File "D:\Python\INST\lib\site-packages\django\core\management\base.py", line 3
61, in execute
    self.check()
  File "D:\Python\INST\lib\site-packages\django\core\management\base.py", line 3
90, in check
    include_deployment_checks=include_deployment_checks,
  File "D:\Python\INST\lib\site-packages\django\core\management\base.py", line 3
77, in _run_checks
    return checks.run_checks(**kwargs)
  File "D:\Python\INST\lib\site-packages\django\core\checks\registry.py", line 7
2, in run_checks
    new_errors = check(app_configs=app_configs)
  File "D:\Python\INST\lib\site-packages\django\core\checks\urls.py", line 40, i
n check_url_namespaces_unique
    all_namespaces = _load_all_namespaces(resolver)
  File "D:\Python\INST\lib\site-packages\django\core\checks\urls.py", line 57, i
n _load_all_namespaces
    url_patterns = getattr(resolver, 'url_patterns', [])
  File "D:\Python\INST\lib\site-packages\django\utils\functional.py", line 80, i
n __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "D:\Python\INST\lib\site-packages\django\urls\resolvers.py", line 584, in
url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "D:\Python\INST\lib\site-packages\django\utils\functional.py", line 80, i
n __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "D:\Python\INST\lib\site-packages\django\urls\resolvers.py", line 577, in
urlconf_module
    return import_module(self.urlconf_name)
  File "D:\Python\INST\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "D:\linebotTranslate\linebotTranslate\urls.py", line 19, in <module>
    from translateapi import views
  File "D:\linebotTranslate\translateapi\views.py", line 8, in <module>
    from module import func
  File "D:\linebotTranslate\module\func.py", line 7, in <module>
    from translate import Translator
ModuleNotFoundError: No module named 'translate'




 

 

Re:Python 與 LINE Bot   專案 makemigrations

請輸入姓名。

已超出字元數目的最大值。


請輸入電子郵件。

格式無效。


請輸入內容。