How to use Pandas in my app

What I’m trying to do:
I just want to import and use pandas in my app, but I can’t seem to get it working, I’ve followed the steps outlined here: Anvil Docs | Installing Custom Packages

What I’ve tried and what’s not working:
I have set my app to be running with Python 3.10 (beta), I’ve not pip installed pandas and have set my project’s base packages to Standard.

Code Sample:

import pandas as pd

I then get: ModuleNotFoundError: No module named ‘pandas’

Am I missing something? Do I need to wait after changing my python version?

Installed packages are strictly a server-side feature. If you’re trying to use it client-side, then this is the error message I’d expect.

1 Like

That makes a lot of sense! Thank you!