monailabel returns PYTHONPATH #1130
Replies: 4 comments 6 replies
-
Thanks for the question, monailabel will automatically set PYTHONPATH to the ENV , where apps or lib located See here in the init setting for monailabel Line 283 in 5a076c8 I don't think you will beed to modify the bash file, but I guess you might want to look at that for checking the python version. |
Beta Was this translation helpful? Give feedback.
-
emm, you should see something like below after the PYTHONPATH:
Which operating system are you using? If you followed the install page, did you install monailabel by "pip"? or from Github? |
Beta Was this translation helpful? Give feedback.
-
I had the same issue on Ubuntu 22.04, WSL 2. In my case, the issue was that monailabel expected the python binary at /usr/bin/python and I only had /usr/bin/python3. This can be fixed with a symlink or equivalently by |
Beta Was this translation helpful? Give feedback.
-
I had the same issue. It was returning the python path (which is expected behaviour) but then just stalling indefinitely (I cut it after about 10 minutes). For me, the issue seemed to be due to the following: I am not sure why (since I was running MonaiLabel locally) but it seems that the cause of my installation issues was due to the university proxy (which I was told to use to access the internet). |
Beta Was this translation helpful? Give feedback.
-
Hi folks,
I don't understand why terminal responds with "Using PYTHONPATH=/Library/Frameworks/Python.framework/Versions:" to all commands to installed app
Apologies, because I feel this is going to be a really stupid question.
I have installed a framework call Monai Label via Terminal (Installation — MONAI Label 0.4.2 Documentation).
Working my way through the prerequisites I have successfully updated Python to 3.8.9, as well as PyTorch. I have successfully installed MonaiLabel via pip install.
But now whenever I type in a command to MonaiLabel (like --version, or --help) terminal responds with Using PYTHONPATH=/Library/Frameworks/Python.framework/Versions:.
Thinking this meant I had to update the PYTHONPATH variable to the given path I updated the bash_profile via atom ~/.bash_profile. This file saved successfully, but that didn't seem to do anything.
Thanks in advance,
marcos
Beta Was this translation helpful? Give feedback.
All reactions