Problem importing external library

What I’m trying to do:

Use the aws_requests_auth library in my SERVER side code.

What I’ve tried and what’s not working:

Importing with from aws_requests_auth.aws_auth import AWSRequestsAuth

I get: ModuleNotFoundError: No module named 'aws_requests_auth' even though its listed in Anvil Docs | List of Packages.

1 Like

it is aws- not aws_ in the list of packages.
Have your tried changing that?

I figured out the problem. You have to select the FULL python version for your server code in the settings. And - in not an allowed character in Python module names.

2 Likes