Exact icon indicating copy to clipboard operation
Exact copied to clipboard

Trouble with installation on Ubuntu

Open catweis opened this issue 1 year ago • 5 comments

First of all, thank you very much for this excellent tool. Unfortunately, I have trouble installing it on a Linux machine (Ubuntu 22); not due to the Ubuntu version. I have cloned your repo, modified the env files in the subfolder exact/exact, and then started the installation via: sudo docker-compose -f docker-compose.yml up -d --build By doing so, there is an error with a requirements.txt file. I have copied that one from the subfolder exact to the main folder. However, there is still this error: The command '/bin/sh -c pip3 install -r requirements.txt' returned a non-zero code: 137 ERROR: Service 'web' failed to build : Build failed

catweis avatar Mar 05 '23 10:03 catweis

Dear @catweis,

First of all, you have a very cool profile picture. Second: Could you provide me with more details regarding your error message? Could you let me know why you copied the requements.txt?

With kind regards

ChristianMarzahl avatar Mar 06 '23 16:03 ChristianMarzahl

Dear @ChristianMarzahl, Thank you. As a pathologist, it was somehow relatively nearby to choose a histology image. Regarding your questions: I have copied the settings file due to an error message mentioning that it is missing. Furthermore, it is mentioned in your installation guide: "Copy and rename settings.py.example to settings.py in the exact folder." Therefore, I have copied it. However, there are two exact folders in the repo? Repo/exact and Repo/exact/exact. Interestingly, installing the production version does work. For testing etc. the development version would be much easier. In addition, we maybe want to add features.

catweis avatar Mar 06 '23 20:03 catweis

Dear @catweis.

Sorry for my misleading use of words.
*"Copy and rename settings.py.example to settings.py in the exact folder." just means to make a copy of the settings.py.example file in the same folder and rename the copy to settings.py.

I will have a quick look at the dev version which is rarely used and report back to you.

ChristianMarzahl avatar Mar 07 '23 09:03 ChristianMarzahl

Furthermore,

there is a YouTube video with some background information about the installation process: https://www.youtube.com/watch?v=-YH5cnWVrDg

Which you can also find in the readme file.

ChristianMarzahl avatar Mar 07 '23 09:03 ChristianMarzahl

Thank you very much. I have seen the video. Maybe I have missed this point. Anyway, by copying the file (exact/exact/settings.py.example) in the same folder (to exact/exact/settings.py) it works.

catweis avatar Mar 11 '23 20:03 catweis