collectiveklion.blogg.se

Klib windows
Klib windows







klib windows

Install NumPy, scipy, matplotlib and pandas in your pc/laptop with this command in command prompt:. Or you can use the approach mentioned below:Īfter spending a lot of time, this comment gave me the right result.ĭownload Python 3.6.8 and install, make sure you add it to PATH. If you are using Anaconda Prompt (recommended), conda install -c conda-forge dlib Note: To install Dlib for Python 2.x use python instead of python3 you can check your python version via python -V Linux Dlib 19.17.0 sudo apt-get install cmake Run the installation: python setup.py install.NOTE: Make sure to open the PowerShell as admin, and you're inside the dlib directory before proceeding to step 6 Note: You can install it for both Python 2 and Python 3, if you have set different variables for different binaries i.e: python2 -V, python3 -V This is my output: Python 3.7.2 so I'm installing it for Python3.x and not for Python2.x Restart The Cmd or PowerShell window for changes to take effect.ĭownload the Dlib source(.tar.gz) from the Python Package Index : extract it and enter into the folder.Ĭheck the Python version: python -V. Note: The path will be set temporarily, to make the change permanent you have to set it in the “Advanced system settings” → “Environment Variables” tab. Note: The path of the executable could be different from C:\Program Files\CMake\bin, just set the PATH accordingly. Set PATH="%PATH% C:\Program Files\CMake\bin" Install Dlib from source (If the solution above doesn't work)#ĭownload the CMake installer and install it: Īdd CMake executable path to the Enviroment Variables: Note: if this message occurs you have to build dlib from source:ĭlib-19.7.0-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform

klib windows

You can test it, downloading an example from the site, for example SVM_Binary_Classifier.py and running it on your machine.









Klib windows