Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Check out our powerful new search update! You can read more here. Please let us know if you have any feedback by creating a topic here.
SOLVED

Parsing HTML with Python Tool

Meteoroid
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-13-f33cf0cb8fd3> in <module>
----> 1 from bs4 import BeautifulSoup

ModuleNotFoundError: No module named 'bs4'

I am getting the following error- is there anything that I can do? or is there something I am doing wrong? 

Highlighted
Alteryx
Alteryx

You need to install the Beautiful Soup Package into the Python Virtual Environment

 

Run Alteryx as Administrator and enter the following code in a cell in the Python Tool

from ayx import Package
Package.installPackages(['bs4'])
import bs4

 

You'll only have to install this package once, and then you should be good to go. 

Labels