0
votes

i have installed beautifulsoup4 using pip install BeautifulSoup and through normal python project it can import the module. (from bs4 import BeautifulSoup) but in odoo it get error no module name bs4 even though it is installed. does anyone have solution?

1

1 Answers

0
votes

Check to make sure odoo is using the Python installation you think it is (I'd guess it's not).

import sys
print(sys.path)

Try that from a python prompt where import bs4 works and from the odoo prompt where it doesn't. The difference should give you the answer.