[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: file:///content does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found
https://colab.research.google.com/drive/11u6leEKvqE0CCbvDHHKmCxmW5GxyjlBm?usp=sharing setup.py file is in transformers folder(root directory). But this error occurs when I run !git clone https://gi...
stackoverflow.com
반응형
'개인활동 > 기타' 카테고리의 다른 글
[Error/Python] Value error: if you using all scalar values you must pass an index (0) | 2024.12.25 |
---|---|
[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 |