Requirements.txt importing python package from private git url

I have a streamlit application that relies on a small package I have developed. Both the application repository and the package repository are located in my github account.

In my streamlit repository, the requirements.txt file lists my package as follows:

streamlit_framework @ git+

I swap https with ssh when developing the page because I configured an ssh key from my computer. I figured I could use https on the cloud because I already gave access to my github account, but when I try to deploy my app, I get the following error:

  fatal: could not read Username for '': No such device or address
  error: subprocess-exited-with-error

I also tried using ssh, but then I get a different error: sudo: /home/adminuser/venv/bin/streamlit: command not found

I do not want to upload the package to a python repository. At most, I could make its repository public, but I’d rather not. What can I do to use it in my app?

I found the solution, it works perfectly now!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.

Hey @Argalia,

Glad you found a solution! Would you mind sharing the solution that ended up working for you?