Dear Community Member, I am receiving the following error while deploying app
FileNotFoundError: [Errno 2] No such file or directory: ‘java’
My app repository is GitHub - MohanChemoinformaticsLab/Akt1_Pred
Dear Community Member, I am receiving the following error while deploying app
FileNotFoundError: [Errno 2] No such file or directory: ‘java’
My app repository is GitHub - MohanChemoinformaticsLab/Akt1_Pred
I think you have developed an python based application. Is it strange that how can get the error ‘No such file directory found named java’. Anyways it’s always helpful to send the error screenshot which you have received at the bottom left of the app!
Hi Guna thanks for the reply. Actually, the application calculates features of small molecules against gene AKT1 to predict their bioactivity. The application uses PaDEL software (java based software) to calculate molecular features which is highly required for bioactivity prediction. The application works fine in streamlit host.
Can u share your requirements.txt file? I need to know which python version have u been used for the local development? There may be chance with the python version issue, that’s why I’m asking the above question.
this error is likely related to some specific functionality or library within your app. Double-check the parts of your code that involve Java and make sure the necessary setup and configurations are in place.
Hi @RATUL_BHOWMIK ,
Thanks for posting…
The real problem is with java
.
You have to install java in your streamlit server, then you will be able to use the commands pf java.
It might be running well on your local because you have java installed there.
Yeh sure
Hi @Souvik_Sarkar thanks for replying. I checked but still I am not able to figure out. Can you please help me out
This is the app
The java software which I am using is also been placed in the github repository
I tried to deploy your app on my server, it is just working fine, please check …
my-deploy-link .
I think redeploying your app might work for you… you can try it.
hi @ilovetensor thanks for running. The link you published is working just fine.
I just reployed it here. Its working fine as well.
Cheers
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.