I can’t deploy my app although it’s running locally.
I’m using a module that is a cloned repo installed locally with pip (pip install -e .
) I don’t know if I’m properly referencing this module in requirements.txt (I added -e ./streamlit-bgraph
)
The error I get when trying to deploy is:
File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.__dict__)File "/mount/src/textmagnet/app.py", line 7, in <module>
from graph import GraphFile "/mount/src/textmagnet/graph.py", line 1, in <module>
from streamlit_agraph import agraph, Node, Edge, ConfigFile "/mount/src/textmagnet/streamlit-bgraph/streamlit_agraph/__init__.py", line 22, in <module>
_agraph = components.declare_component("agraph", path=build_dir)File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/components/v1/components.py", line 320, in declare_component
ComponentRegistry.instance().register_component(component)File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/components/v1/components.py", line 360, in register_component
raise StreamlitAPIException(f"No such component directory: '{abspath}'")
This is my app’s repo: GitHub - jnferfer/TextMagnet
Any help would be greatly appreciated.
Thanks!