thuhoainguyen / kits23

The official repository of the 2023 Kidney Tumor Segmentation Challenge (KiTS23)
MIT License
0 stars 0 forks source link

Install library with virtual environment #7

Closed anhtuduong closed 3 months ago

anhtuduong commented 4 months ago

In the project root terminal, run:

git pull
python3 -m venv venv
source venv/bin/activate
pip3 install -e .
thuhoainguyen commented 4 months ago

@anhtuduong i just run the code you provided, then this error appeared when i executed the last code line:

Image

anhtuduong commented 4 months ago

@thuhoainguyen because you are not in the project root folder. The location you should be running is FBK/kits23 not FBK/kits23/kits23. Reading your error, it says it couldn't find the file setup.py. This file appears in FBK/kits23 not FBK/kits23/kits23.

thuhoainguyen commented 4 months ago

@anhtuduong Alright, I think i successfully install library with virtual environment.

Image

anhtuduong commented 4 months ago

@thuhoainguyen Can you run this

python3 -m termcolor

to make sure you have termcolor installed

thuhoainguyen commented 4 months ago

@anhtuduong Yes!

Image

Image

thuhoainguyen commented 3 months ago

@anhtuduong today I try to run the preprocessing file but it said no module named "termcolor". I don't know why

Image