I am trying to deploy ArcGIS Experience Builder apps using notebooks. I am creating them this way because I need to create a lot of them for different audiences. For whatever reason I am having trouble importing the library for Experience Builder. See the Import Error below. I tested this in ArcGIS Online and it work there. I assume I need to install a missing library(ies). If someone could tell me what I should install and where I should install it, that would be awesome. I haven't been able to find anything on the Developer site.
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/tmp/ipykernel_126/3924572473.py in <cell line: 2>()
1 from arcgis.mapping import WebMap
----> 2 from arcgis.apps import WebExperience
3 import getpass
4
5 # Function to create a web map
ImportError: cannot import name 'WebExperience' from 'arcgis.apps' (/opt/conda/lib/python3.9/site-packages/arcgis/apps/__init__.py)
Edit: I forgot to mention that I am doing this in Enterprise 11.1 with Notebook Server.