-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
I am running:
conda env create -f unity.yaml
conda activate unity
pip install .
and get the following:
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
/tmp/pip-build-env-av1hch8u/overlay/lib/python3.8/site-packages/setuptools/dist.py:529: UserWarning: Normalizing '0.1.1-alpha.2' to '0.1.1a2'
warnings.warn(tmpl.format(**locals()))
error: Multiple top-level packages discovered in a flat-layout: ['unity', 'rdr2019', 'RRSG2020', 'kde_corner'].
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.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I have also tried 'pip install -e .' and got the same error (Getting requirements to build editable ... error).
How can I fix it?