简体   繁体   中英

Cannot import "odoo" & "PyPDF2"

I have installed PyPDF2 in my virtual environment too. 在我的 Venv 中安装 PyPDF2

But When i check the status of my "odoo", It throws an error which says "ModuleNotFoundError: No module named 'PyPDF2'"

“odoo”的状态仍然失败!

Any help will be heartly appreciated.

I think no need to install packages manually just run the odoo's standard requirements,txt situated along with odoo-bin file,

so run the pip install -r requirements.txt

apt installs packages system-Wie. It will never install something in a virtual environment. You need to use

pip install PyPDF2

within the virtual environment

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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