繁体   English   中英

Odoo 12 中没有名为 Slugify 的模块

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM