Error importing the python libraries into code node

Hi all, I am trying to implement a python code to extract some info from website html using beautiful soup, this extracted information is the output I am expecting. but when I try to import the libraries in the code, like below, this throws a security violation error. How do I fix this, please help.

import re
import json
from bs4 import BeautifulSoup