ERROR: Could not install packages due to an OSError

I’m new to Streamlit and at a loss on how to trouble shoot the following error when I try to deploy my app:

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/home/conda/feedstock_root/build_

I have included a screen shot of my entire error in this post.

Here is the link to my github repository:

Any help would be greatly appreciated.

Your requirements.txt file is stuffed with unnecessary packages and references to locally installed packages.
This does not work, the file needs to be cleaned up.
See my pull request on GitHub.
Btw, it is bad practice do generate the requirements.txt file by pip freeze or similar.

Thank you for response. What do you recommend using in the command line instead of pip freeze?

Just populate the requirements.txt file manually. You know which 3rd party packages you use by the import statements in your code. Everything else let the pip paket manager resolve itself.

1 Like

If your requirements are involved, you could use pipreqs to automatically generate the file.

1 Like

yes, trying this one out! thank you