Grounded-Segment-Anything icon indicating copy to clipboard operation
Grounded-Segment-Anything copied to clipboard

python -m pip install -e GroundingDINO 报错

Open mls2009 opened this issue 1 year ago • 4 comments

Obtaining file:///F:/AI/Grounded-Segment-Anything/GroundingDINO Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error

python setup.py egg_info did not run successfully. exit code: 1

[9 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "F:\AI\Grounded-Segment-Anything\GroundingDINO\setup.py", line 214, in ext_modules=get_extensions(), File "F:\AI\Grounded-Segment-Anything\GroundingDINO\setup.py", line 72, in get_extensions am_i_docker = os.environ.get('AM_I_DOCKER').casefold() in ['true', '1', 't'] AttributeError: 'NoneType' object has no attribute 'casefold' Building wheel groundingdino-0.1.0 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

Encountered error while generating package metadata.

See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

mls2009 avatar Apr 20 '23 01:04 mls2009