Hi, I’m running into an error when deploying my Streamlit App. Locally, it’s working perfectly.
In the requirements.txt file, I have included a link to a different GitHub repository (outside of the app repository). It follows this format: git+https://${ACCESS_TOKEN}@github.com/<organisation>/<repository>.git
I have saved the ACCESS_TOKEN as a secret in the app settings. The value is the Personal Access Token that I have generated in my GitHub account.
When trying to run the app, the following error appears (replaced the actual organisation and repository names with <>):
Cloning https://****@github.com/<organisation>/<repository>.git to /tmp/pip-req-build-3fcfu1t5
Running command git clone -q 'https://****@github.com/<organisation>/<repository>.git' /tmp/pip-req-build-3fcfu1t5
fatal: could not read Password for 'https://${ACCESS_TOKEN}@github.com': No such device or address
WARNING: Discarding git+https://****@github.com/<organisation>/<repository>.git. Command errored out with exit status 128: git clone -q 'https://****@github.com/<organisation>/<repository>.git' /tmp/pip-req-build-3fcfu1t5 Check the logs for full command output.
ERROR: Command errored out with exit status 128: git clone -q 'https://****@github.com/<organisation>/<repository>.git' /tmp/pip-req-build-3fcfu1t5 Check the logs for full command output.
Any help is much appreciated!
Best,
Davita