Error installing pip pyicu

后端 未结 8 2023
独厮守ぢ
独厮守ぢ 2020-12-24 13:51

I have been trying to install musicbrainz server on my mac and there is a step where I have to install pip pyicu. I keep getting this error:

Collecting pyicu         


        
8条回答
  •  不思量自难忘°
    2020-12-24 14:41

    Following solution worked for me on OSX:

    # Install ucu4c via Brew
    brew install icu4c
    
    # Create relative symlinks for icu4c
    brew link --force icu4c
    
    # Install pyicu via pip
    # Make sure ICU_VERSION matches the one you just installed
    sudo ICU_VERSION=60.2 pip install pyicu
    

提交回复
热议问题