Best answer

Can't import urllib.request and bs4 BeautifulSoup into zapier

  • 15 March 2021
  • 1 reply

I'm integrating zapier (to run python) to scrape latest reviews from at the

and populate to

Problem: For this job I tried importing urllib.request and bs4 BeautifulSoup but it seem no such modules installed with python.

The code is working perfect on my local system but on throws the following error.


Traceback (most recent call last): File "", line 10, in the_function ModuleNotFoundError: No module named 'bs4'

Please suggest me a solution for this. Thanks in advance.


Please visit the link to code here


Best answer by GetUWired 17 March 2021, 16:03

View original

1 reply

Userlevel 7
Badge +10


Zapier does not support installing modules in the code block as it is a sandbox environment. 

You would need to explore building this step in the CLI builder or using webhooks to run it on your local maching and push results back into Zapier.