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
It looks like you’re trying to launch Label Studio by running “python -m label_studio.core.settings.label_studio,” but that file isn’t meant to be run directly. That’s why you’re getting “ModuleNotFoundError: No module named 'core'.” The “core” module is inside “label_studio,” and calling it this way won’t properly pick up the internal package paths.
Here’s the recommended way to start Label Studio from your environment:
Make sure Label Studio is correctly installed:
pip install label-studio
(or install it into your conda environment if necessary)
2. Run Label Studio from the command line using either of these commands:
label-studio
or
python -m label_studio
3. That’s it! The “label_studio/core/settings/label_studio.py” file is part of Label Studio’s internal code. It isn’t intended to be used as a standalone script.
If you run into any more difficulties, feel free to let us know. We’re happy to help further!
(paddle) D:\A\anaconda3\envs\paddle\Lib\site-packages\label_studio\core\settings>python -m label_studio.core.settings.label_studio --label_studio_file ./label_studio.json --save_dir ./data --splits 0.8 0.1 0.1 --task_type ext
Traceback (most recent call last):
File "", line 189, in _run_module_as_main
File "", line 112, in _get_module_details
File "D:\A\anaconda3\envs\paddle\Lib\site-packages\label_studio\core\settings\label_studio.py", line 5, in
from core.settings.base import * # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'core'
The text was updated successfully, but these errors were encountered: