반응형
Collecting cython_bbox
Using cached cython_bbox-0.1.3.tar.gz (41 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Traceback (most recent call last):
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\USER\AppData\Local\Temp\pip-build-env-mta_np9i\overlay\Lib\site-packages\setuptools\build_meta.py", line 355, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\USER\AppData\Local\Temp\pip-build-env-mta_np9i\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in _get_build_requires
self.run_setup()
File "C:\Users\USER\AppData\Local\Temp\pip-build-env-mta_np9i\overlay\Lib\site-packages\setuptools\build_meta.py", line 507, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\USER\AppData\Local\Temp\pip-build-env-mta_np9i\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in run_setup
exec(code, locals())
File "<string>", line 10, in <module>
ModuleNotFoundError: No module named 'Cython'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
...
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
요구하는 Cython 패키지를 설치해도 cython-bbox 설치에 오류가 생긴다
https://ban2aru.tistory.com/51
git clone https://github.com/samson-wang/cython_bbox
cd cython_bbox
pip install -e ./
위 블로그에선 깃허브 파일로 받아서 이를 pip3 install 하였고 이를 따라했더니 잘 되었다.
반응형
'프로그래밍 > 데이터 사이언스 공부' 카테고리의 다른 글
ImportError: cannot import name 'bbox_overlaps' from 'cython_bbox' (0) | 2023.10.20 |
---|---|
AttributeError: module 'numpy' has no attribute 'float' (0) | 2023.10.19 |
파이썬 커널과 인터프리터 버전 맞추기 (1) | 2023.10.19 |
ByteTrack 패키지에서 import yolox 오류 (0) | 2023.10.19 |
Yolov8s 모델에 바로 resume 옵션을 사용하는건 에러가 나온다 (0) | 2023.10.18 |