Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit is happening now. Discover what's next in customer experience.

AEP DSW unable to load utils module used in Services

Avatar

Level 2

Hi.  I am attempting to step through the code in a notebook used to create a service within AEP DSW.  The service completes weekly and the output looks correct, so that implies to me the code works.  However, when I try to run it piece by piece (in a totally separate notebook), on step one I receive an error that the .utils package does not exist (see error below).  I have tried running this a few ways, all give me errors. I looked at the pip list and do not see .utils listed, but thinking it might be an integration of some sort? This code is also provided in the Adobe documentation https://experienceleague.adobe.com/docs/experience-platform/data-science-workspace/authoring/python....).

 

Any ideas how to get this to work?

 

Code:

from .utils import get_client_context

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-14-7b37d326493a> in <module>
----> 1 from .utils import get_client_context

ImportError: attempted relative import with no known parent package  

 

0 Replies