No module named 'streamlit_d3graph'

Hello
I am trying to add the streamlit-d3graph into my app
and I have updated the requiremetns.txt file https://github.com/argira/NFL_4thdown/blob/main/requirements.txt

I did it by adding the streamlit-d3graph which is how I installed it locally
and also tried doing the github option

git+https://github.com/snehankekre/streamlit-d3graph#egg=snehankekre/streamlit-d3graph

but it keeps telling me that I do not have the module.
To get starteg and make sure it works, I added the sample code in one of my pages

My app url is this

Thanks for the help

The file content has some errors, try this:

numpy
pandas
matplotlib
seaborn
altair
scipy
streamlit
streamlit-d3graph

Thank you but this didn’t work either.
I am still geeting the error

File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
    exec(code, module.__dict__)File "/mount/src/nfl_4thdown/app.py", line 2, in <module>
    import bestdecisionsFile "/mount/src/nfl_4thdown/bestdecisions.py", line 2, in <module>
    from streamlit_d3graph import d3graph

This should work, try a reboot of the streamlit app.

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