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
When doing pip install -e . I had to add py_modules=[], in the setup.py file to avoid the error below.
ERROR: Command errored out with exit status 1:
command: /homes/kovacs/anaconda3/envs/tureckova_dgk1_vnet/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/homes/kovacs/project_scripts/hnc_segmentation/tureckova_vnet/Abdomen-CT-Image-Segmentation/setup.py'"'"'; file='"'"'/homes/kovacs/project_scripts/hnc_segmentation/tureckova_vnet/Abdomen-CT-Image-Segmentation/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-yjk8gz6f
cwd: /homes/kovacs/project_scripts/hnc_segmentation/tureckova_vnet/Abdomen-CT-Image-Segmentation/
Complete output (14 lines):
error: Multiple top-level packages discovered in a flat-layout: ['nnunet', 'plans_files'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs.
----------------------------------------
WARNING: Discarding file:///homes/kovacs/project_scripts/hnc_segmentation/tureckova_vnet/Abdomen-CT-Image-Segmentation. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
When doing
pip install -e .
I had to addpy_modules=[],
in the setup.py file to avoid the error below.ERROR: Command errored out with exit status 1:
command: /homes/kovacs/anaconda3/envs/tureckova_dgk1_vnet/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/homes/kovacs/project_scripts/hnc_segmentation/tureckova_vnet/Abdomen-CT-Image-Segmentation/setup.py'"'"'; file='"'"'/homes/kovacs/project_scripts/hnc_segmentation/tureckova_vnet/Abdomen-CT-Image-Segmentation/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-yjk8gz6f
cwd: /homes/kovacs/project_scripts/hnc_segmentation/tureckova_vnet/Abdomen-CT-Image-Segmentation/
Complete output (14 lines):
error: Multiple top-level packages discovered in a flat-layout: ['nnunet', 'plans_files'].
WARNING: Discarding file:///homes/kovacs/project_scripts/hnc_segmentation/tureckova_vnet/Abdomen-CT-Image-Segmentation. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The text was updated successfully, but these errors were encountered: