wells-wood-research / timed-design

Protein Sequence Design with Deep Learning and Tooling like Monte Carlo Sampling and Analysis
46 stars 11 forks source link

Error with building docker image #88

Open kinal1999 opened 4 months ago

kinal1999 commented 4 months ago
Screenshot 2024-05-07 at 12 26 38 PM
universvm commented 4 months ago

@kinal1999 are you using the latest version of the repo?

kinal1999 commented 4 months ago

@universvm I am using the latest version of the main branch repo. i added streamlit to the requirements and am getting the following error ImportError: cannot import name 'TypeAliasType' from 'typing_extensions' (/Users/kinal/Downloads/timed-design1-main/310/lib/python3.10/site-packages/typing_extensions.py)

universvm commented 4 months ago

@kinal1999 I'm not sure if you are using the latest version because I believe we removed the BUDEFF dependency a while ago. I suggest you clone it again.

You don't need to add streamlit to the requirements. Please don't change anything you should be able to build as is.

universvm commented 4 months ago

Please use the following command after cloning

cd timed-design
docker build --no-cache -t timed_design .
kinal1999 commented 4 months ago
Screenshot 2024-05-07 at 1 23 11 PM
universvm commented 4 months ago

@kinal1999 are you able to get more information like a log? It is difficult to understand what went wrong from this screenshot other than ampal was not installed (which seems to be different from the first error you had so I'm assuming we are making progress)

universvm commented 4 months ago

@kinal1999 I have pushed our compiled container to docker hub. hope it helps: https://hub.docker.com/r/universvm/timed-design

CommunityDiscovery commented 4 months ago

hi! i am still getting the same error. would you be able to assist deploying it on www.healthuniverse.com ?

universvm commented 4 months ago

@CommunityDiscovery Have you tried the docker container https://hub.docker.com/r/universvm/timed-design

universvm commented 4 months ago

@kinal1999 Given that there's only 1 pull for the docker container, ie. mine, I don't think you're following the instructions. I have just tried to pull it on my mac and our AMD-based servers with no issues. My guess is that you're either using a different container or that you're not pulling the correct one from Docker.

I would be able to help you but please, at least let me know what you tried and the exact error messages, otherwise it is impossible for me to debug.