Dropbox Module Not Found in Retool Python Workflow

The dropbox (12.0.2 Official Dropbox API Client) Python module works in Function blocks but fails in Workflow Python blocks (ModuleNotFoundError ), despite being added via Python Libraries. Retool Cloud, not self-hosted.

The error message:
ModuleNotFoundError: No module named 'dropbox'

  1. Add dropbox via Python Libraries
  2. import dropbox → Works in Function block
  3. Same import → Fails in Workflow Python block

Cheers

When selecting libraries (not manually modifying the requirements.txt) results in sometimes a bugged out requirements.txt. My reason was that the version was removed somehow from some libraries, if you are manually modifying libraries and selecting some.

Do double check the file after manually selecting libraries: