You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am trying to install the MONAI Label and trying to download radiology app using the code " !monailabel apps --download --name radiology --output apps". I got this Problem:
"(Monai) C:\Users\user>monailabel apps --download --name radiology --output apps
Using PYTHONPATH=C:\Users\user\anaconda3\envs;
""
Traceback (most recent call last):
File "C:\Users\user\anaconda3\envs\Monai\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\user\anaconda3\envs\Monai\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\main.py", line 24, in
from monailabel.config import settings
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 23, in
class Settings(BaseSettings):
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 109, in Settings
if is_package_installed("SAM-2")
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 20, in is_package_installed
return name in sorted(x.name for x in distributions())
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 20, in
return name in sorted(x.name for x in distributions())
AttributeError: 'PathDistribution' object has no attribute 'name'"
Also, the AttributeError: 'PathDistribution' object has no attribute 'name'" happens when I try to start the MONAI server:
(Monai) C:\Users\user>monailabel start_server --app ChooseApp --studies path/dataset --conf model ChooseModel
Using PYTHONPATH=C:\Users\user\anaconda3\envs;
""
Traceback (most recent call last):
File "C:\Users\user\anaconda3\envs\Monai\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\user\anaconda3\envs\Monai\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\main.py", line 24, in
from monailabel.config import settings
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 23, in
class Settings(BaseSettings):
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 109, in Settings
if is_package_installed("SAM-2")
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 20, in is_package_installed
return name in sorted(x.name for x in distributions())
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 20, in
return name in sorted(x.name for x in distributions())
AttributeError: 'PathDistribution' object has no attribute 'name'
Could you please help me out ?. Thank you
The text was updated successfully, but these errors were encountered:
Hello, I am trying to install the MONAI Label and trying to download radiology app using the code " !monailabel apps --download --name radiology --output apps". I got this Problem:
"(Monai) C:\Users\user>monailabel apps --download --name radiology --output apps
Using PYTHONPATH=C:\Users\user\anaconda3\envs;
""
Traceback (most recent call last):
File "C:\Users\user\anaconda3\envs\Monai\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\user\anaconda3\envs\Monai\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\main.py", line 24, in
from monailabel.config import settings
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 23, in
class Settings(BaseSettings):
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 109, in Settings
if is_package_installed("SAM-2")
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 20, in is_package_installed
return name in sorted(x.name for x in distributions())
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 20, in
return name in sorted(x.name for x in distributions())
AttributeError: 'PathDistribution' object has no attribute 'name'"
Also, the AttributeError: 'PathDistribution' object has no attribute 'name'" happens when I try to start the MONAI server:
(Monai) C:\Users\user>monailabel start_server --app ChooseApp --studies path/dataset --conf model ChooseModel
Using PYTHONPATH=C:\Users\user\anaconda3\envs;
""
Traceback (most recent call last):
File "C:\Users\user\anaconda3\envs\Monai\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\user\anaconda3\envs\Monai\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\main.py", line 24, in
from monailabel.config import settings
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 23, in
class Settings(BaseSettings):
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 109, in Settings
if is_package_installed("SAM-2")
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 20, in is_package_installed
return name in sorted(x.name for x in distributions())
File "C:\Users\user\anaconda3\envs\Monai\lib\site-packages\monailabel\config.py", line 20, in
return name in sorted(x.name for x in distributions())
AttributeError: 'PathDistribution' object has no attribute 'name'
Could you please help me out ?. Thank you
The text was updated successfully, but these errors were encountered: