[dlib] dlib 설치시 에러

2024. 5. 10. 17:06·Error Note
728x90
반응형

dlib 설치 전 cmake 를 먼저 설치해줘야 합니다.

하지만 cmake 를 설치 했음에도 불구하고 아래와 같은 에러 문구가 계속 뜬다면...

 ModuleNotFoundError: No module named 'cmake'

 

 

 

  [해결방법]  

1. 먼저 설치했던 cmake를 모두 제거합니다.

sudo apt-get remove cmake
sudo apt-get purge cmake
sudo apt remove cmake

 

which cmake 를 입력했을 때 아무것도 나오지 않아야 합니다.

 

2. 아래 버전으로 cmake와 dlib을 새로 설치해줍니다.

pip install cmake==3.25.2
pip install dlib==19.24.2

 

 

 

 

[참고 사이트]

https://github.com/davisking/dlib/issues/2943

728x90
반응형
저작자표시 (새창열림)

'Error Note' 카테고리의 다른 글

ncclInvalidArgument: Invalid value for an argument.  (1) 2024.09.20
ValueError: Cannot load <class 'diffusers.models.controlnet.ControlNetModel'> from / because the following keys are missing: Please make sure to pass `low_cpu_mem_usage=False` and `device_map=None` if you want to randomly initialize those weights or else  (1) 2024.08.13
TypeError: Unable to convert function return value to a Python type! The signature was () -> handle  (1) 2024.04.02
AttributeError: cannot assign module before Module.__init__() call  (1) 2024.02.28
RuntimeError: Unable to find a valid cuDNN algorithm to run convolution  (1) 2023.11.19
'Error Note' 카테고리의 다른 글
  • ncclInvalidArgument: Invalid value for an argument.
  • ValueError: Cannot load <class 'diffusers.models.controlnet.ControlNetModel'> from / because the following keys are missing: Please make sure to pass `low_cpu_mem_usage=False` and `device_map=None` if you want to randomly initialize those weights or else
  • TypeError: Unable to convert function return value to a Python type! The signature was () -> handle
  • AttributeError: cannot assign module before Module.__init__() call
ga.0_0.ga
ga.0_0.ga
    반응형
    250x250
  • ga.0_0.ga
    ##뚝딱뚝딱 딥러닝##
    ga.0_0.ga
  • 전체
    오늘
    어제
    • 분류 전체보기 (181)
      • Paper Review (51)
        • Video Scene Graph Generation (6)
        • Image Scene Graph Generation (18)
        • Graph Model (5)
        • Key Information Extraction (4)
        • Fake Detection (2)
        • Text to Image (1)
        • Diffusion Personalization (4)
        • etc (11)
      • AI Research (49)
        • Deep Learning (30)
        • Artificial Intelligence (15)
        • Data Analysis (4)
      • Pytorch (10)
      • ONNX (5)
      • OpenCV (2)
      • Error Note (34)
      • Linux (2)
      • Docker (3)
      • Etc (7)
      • My Study (16)
        • Algorithm (10)
        • Project (4)
        • Interview (2)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    ONNX
    Inductive bias
    활성화 함수
    dataloader
    GCN
    HRNet
    그래프신경망
    정규화
    forch.nn.functional
    pandas
    오차 역전파
    나이브 베이즈 분류
    dataset
    RuntimeError
    Logistic regression
    알고리즘
    JNI
    linear regression
    contiguous
    torch.nn
    i3d
    pytorch
    TypeError
    fine tuning
    차원의 저주
    3dinput
    tensorflow
    transformer
    Activation Function
    permute
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.0
ga.0_0.ga
[dlib] dlib 설치시 에러
상단으로

티스토리툴바