BeautifulSoup4 is not working

1045
2
08-05-2019 08:50 AM
GianniContino
New Contributor III

I am trying to run a Python script that uses beautifulSoup,

I installed beautifulSoup with:

sudo pip install beautifulsoup4

Through ArcGIS desktop it is correctly installed and I can see that it is found inside the folder "site-package".

Although when I try to install through the Server I get error 'no module named bs4'. 
Does anybody know how to install the library through the server correctly?
Thanks for your support,

Bye

0 Kudos
2 Replies
JoshuaBixby
MVP Esteemed Contributor

What version of ArcGIS Server are you running and on what OS?  What command, including full path, are you running on the server to install the package?

0 Kudos
GianniContino
New Contributor III

ArcGIS Server 10.22

OS is Linux (Red Hat Ent. v. 7.4)

the command is:

sudo pip install beautifulsoup4

and is launched in:

/arcgis/server/framework/runtime/.wine/drive_c/Python27/ArcGISx6410.2/lib/site-packages

Thanx

0 Kudos