본문 바로가기

Error and Solve

[에러 해결] dinov2 설치할 때 Xformer package install error / --extra-indexl-url 제대로 지정

반응형

 

 

 

xformers 관련 패키지 설치 때 에러

 

ResolvePackageNotFound:
  - xformers::xformers=0.0.18

 

package not found 등 xformers를 설치할 때 에러가 났다 

 

 

 

 

 

--extra-indexl-url를 제대로 지정

 

 

pip install --extra-index-url https://download.pytorch.org/whl/cu117 --extra-index-url https://pypi.nvidia.com git+https://github.com/facebookresearch/dinov2

 

pip install --extra-index-url https://download.pytorch.org/whl/cu117 --extra-index-url https://pypi.nvidia.com git+https://github.com/facebookresearch/dinov2

 

위 코드를 실행하면 cuda 11.7 버전에 맞는 패키지들로 dinov2 관련 패키지가 모두 설치된다. 

 

 

 


 

Reference

https://github.com/facebookresearch/dinov2/issues/27

 

ResolvePackageNotFound: xformers::xformers=0.0.18 · Issue #27 · facebookresearch/dinov2

Can somebody please explain this? (Windows 10 + Anaconda) Requirement already satisfied: xformers in c:\users\atc\appdata\roaming\python\python39\site-packages (0.0.18) versus ResolvePackageNotFoun...

github.com

 

 

https://github.com/facebookresearch/dinov2/issues/9

 

pip install cuml-cu11 --extra-index-url=https://pypi.nvidia.com · Issue #9 · facebookresearch/dinov2

Why am I unable to install cuml-cu11? I've tried various methods, including accessing https://pypi.nvidia.com/ directly, but I've been denied access due to lack of permissions.

github.com

 

 

끝.

반응형