2017-01-11 6 views
1

上のpython3でDLIBをインストールします。エラーとして以下の取得MAC

Collecting dlib 
    Using cached dlib-19.1.0.tar.gz 
Installing collected packages: dlib 
    Running setup.py install for dlib ... error 
    Complete output from command /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/private/var/folders/x1/bsml9c1532x102zlxhqt_k380000gn/T/pip-build-_1n6svbf/dlib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/x1/bsml9c1532x102zlxhqt_k380000gn/T/pip-0m_zvdwp-record/install-record.txt --single-version-externally-managed --compile: 
    running install 
    running build 
    error: Cannot find cmake, ensure it is installed and in the path. 
    You can install cmake on OSX using `sudo brew install cmake`. 
    You can also specify its path with --cmake parameter. 

    ---------------------------------------- 

次にsudoの醸造cmakeのが同様にインストールされていませんインストールします。 これに対する解決策

答えて

0

はたぶん、あなたはsudoをせずに醸造を使用する必要があります。..

brew install cmake 
関連する問題