I was using Bitnami with AWS to initially setup Redash (back when it was v2.0.0). I went to upgrade to v3 using this guide, and everything was going smooth until I hit the last step to install any new requirements.

I ran the following command and got this error:

$ cd /opt/bitnami/apps/redash/htdocs
$ . venv/bin/activate
$ pip install -r requirements.txt
Cannot locate wrapped file

When googling, the only thing that kept popping up were fixes for LetsEncrypt, and nothing seemed to be relevant to my error. Even when running just $ pip or $ python, I would get Cannot locate wrapped file.

Has anyone else encountered this while trying to upgrade their Redash instance?

There are several issues in their instructions:

  • The tarball on GitHub is the wrong tarball to download, as it doesn’t have the compiled frontend assets.
  • It includes wrong instructions on how to run migrations.
  • Extracting new tarball on top of the old files is a bad idea, as leftover files from the previous version can cause issues.

None of this explain the issue you’re having, but I recommend using the images we provide if possible. If not, I would examine the contents of the requirements.txt file.