[英]ModuleNotFoundError: No module named 'werkzeug.contrib' (ODOO 12)
[英]No Module named Slugify in Odoo 12
我從 GitHub 上遇到了一個模塊,並完成了安裝步驟,但出現此錯誤:
Unable to install module because an external dependency is not met: No module named slugify
但是,安裝了 Slugify:
Requirement already satisfied: python-slugify in c:\program files (x86)\python37-32\lib\site-packages (from -r requirements.txt (line 1)) (3.0.3)
Requirement already satisfied: text-unidecode==1.2 in c:\program files (x86)\python37-32\lib\site-packages (from python-slugify->-r requirements.txt (line 1)) (1.2)
我正在使用以下參數進行測試:
OS: Windows 10 Pro 64 Bit
Odoo 12.0-20181022 (Community Edition)
誰能告訴我我失敗的地方?
在此先感謝您的幫助。
打開 Odoo 使用的同一個 python 虛擬環境並運行:
try:
import slugify
except ModuleNotFoundError:
import sys
print("Module not found under the following directories: %s"%sys.path)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.