Error in requirment, I think

I used streamlit to create a front end for my app. I uploaded the app to GitHub. Then, from creat app → Yup I have an app → insert information of repository. At the end, it shows error.

  1. Are you running your app locally or is it deployed?
    deployed
  2. If your app is deployed:
    community
    Share the link to the public deployed app: https://symbolic-regression-fatigueproblem-nouritoufigh.streamlit.app/
  3. Share the link to your app’s public GitHub repository : I cant it is a part of private app
  4. Share the full text of the error message (not a screenshot):
    "ImportError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).
    Traceback:
File "/home/adminuser/.conda/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 85, in exec_func_with_error_handling
    result = func()
             ^^^^^^File "/home/adminuser/.conda/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 576, in code_to_exec
    exec(code, module.__dict__)File "/mount/src__init__.py", line 4, in <module>
    from .julia_import import jl, SR  # isort:skip
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

"
I also create requirments.txt:
“sympy>=1.0.0,<2.0.0
pandas>=0.21.0,<3.0.0
numpy>=1.13.0,<3.0.0
scikit_learn>=1.0.0,<2.0.0
juliacall==0.9.23
click>=7.0.0,<9.0.0
setuptools>=50.0.0”
streamlit
streamlit-option-menu
How can I solve the problem?

Hey @ali_nouri91, based on the logs you have provided it looks like you do a relative import of julia (with the preceding .). Could that perhaps be the issue here?

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