[error] ERROR: file:///content does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
2024. 8. 15. 18:58ㆍ개인활동/기타
Grounding DINO를 코랩에 설치하던 중
ERROR: file:///content does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
이렇게 생긴 에러를 마주하게 되었다.
그래서 해결법을 찾던 중 스택오버플로우를 통해 알게된 사실
!git clone https://github.com/IDEA-Research/GroundingDINO.git
%cd GroundingDINO
!pip install -e .
경로 설정 과정에서 !cd GroundingDINO/ 로 되어있던 것을 %cd GroundingDINO로 수정해주니 에러가 나지 않고 패키지가 잘 설치되었다.
코랩에서는 !cd는 경로가 제대로 설정되지 않아 %cd를 사용해야 한다고 한다.
지식 하나 습득~
'개인활동 > 기타' 카테고리의 다른 글
[error] UnboundLocalError: local variable 'inputs' referenced before assignment (0) | 2024.09.10 |
---|---|
[error] UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb1 in position 0: invalid start byte (0) | 2024.08.10 |
[Error] dtype('<U4') 무엇인가? (1) | 2024.05.01 |
[konlpy] jvm 에러 (0) | 2023.12.02 |
[Git] clone한 레포지토리 계정 확인하고 수정하기 (1) | 2023.11.25 |