Here is how I solved the same issue.
- Make sure you have installed cmake and CMAKE_FOLDER\bin added it in environment varaible
- Install anaconda
- then run following commands in anaconda shell.
conda update conda
conda update anaconda
- create new environment
conda create -n env_dlib python=3.6
- activate enviroment
conda activate env_dlib
- install dlib
conda install -c conda-forge dlib
Verify your installation in python shell using
import dlib dlib.__version__
Related Posts:
- I get a syntax error and an error saying illegal target for variable annotation. How do I fix it?
- No module named pandas_datareader
- ‘dict’ object has no attribute ‘has_key’
- Series Summation using for loop in python
- Python 3: UnboundLocalError: local variable referenced before assignment
- Why Am I Getting ELIF Invalid Syntax Error?
- Alternative to scipy.misc.imresize()
- Get degree of each nodes in a graph by Networkx in python
- Virtualenv – workon command not found
- CMake error at CMakeLists.txt:30 (project): No CMAKE_C_COMPILER could be found
- How do I create a popup window in tkinter?
- ‘python3’ is not recognized as an internal or external command, operable program or batch file
- How do I remove/delete a virtualenv?
- pandas equivalent of R’s cbind (concatenate/stack vectors vertically)
- android,
android-layout,
android-linearlayout,
gradient, - Import py file in another directory in Jupyter notebook
- Why would cv2.COLOR_RGB2GRAY and cv2.COLOR_BGR2GRAY give different results?
- Pip install on Mac OS gets error: command ‘/usr/bin/clang’ failed with exit code 1
- unsupported format string passed to numpy.ndarray
- SyntaxError: unexpected EOF while parsing
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How to install pip with Python 3?
- Import Error: No module named numpy
- Python3 – ModuleNotFoundError: No module named ‘numpy’
- TypeError: a bytes-like object is required, not ‘str’ when writing to a file in Python3
- Pip freeze vs. pip list
- TypeError: list indices must be integers or slices, not list
- Best way to convert string to bytes in Python 3?
- Unresolved external symbol in object files
- Should I put #! (shebang) in Python scripts, and what form should it take?
- Should I put #! (shebang) in Python scripts, and what form should it take?
- Using Python 3 in virtualenv
- Local variable referenced before assignment?
- Awesomium sdk download
- ImportError: No module named ‘keras’
- Can’t fix “zipimport.ZipImportError: can’t decompress data; zlib not available” when I type in “python3.6 get-pip.py”
- ‘method’ object is not subscriptable. Don’t know what’s wrong
- How to upgrade pip3?
- TypeError: Missing 1 required positional argument: ‘self’
- What is __pycache__?
- Windows 7 exception code: 0xc0000409
- Configuration System Failed to Initialize
- SystemError: Parent module ” not loaded, cannot perform relative import
- TypeError: can’t use a string pattern on a bytes-like object in re.findall()
- how to resolve this ValueError: only 2 non-keyword arguments accepted sklearn python
- In CLion, header only library: file “does not belong to any project target, code insight features might not work properly”
- Type error: cannot convert the series to
- Why Am I Getting ELIF Invalid Syntax Error?
- How to remove punctuation marks from a string in Python 3.x using .translate()?
- Subplot for seaborn boxplot
- enumerate() for dictionary in python
- ERROR: Cannot open source file ” “
- Why Python 3.6.1 throws AttributeError: module ‘enum’ has no attribute ‘IntFlag’?
- How to use sys.exit() in Python
- How do I activate C++ 11 in CMake?
- installing urllib in Python3.6
- What is sys.maxint in Python 3?
- Get degree of each nodes in a graph by Networkx in python
- VC++ fatal error LNK1168: cannot open filename.exe for writing
- UnicodeDecodeError: ‘charmap’ codec can’t decode byte X in position Y: character maps to
- Can’t Add View from Controller in VS 2015 : “There was an error running the selected code generator”
- Python 3.2 Unable to import urllib2 (ImportError: No module named urllib2)
- What is the meaning of ‘for _ in range()
- LINK : fatal error LNK1561: entry point must be defined ERROR IN VC++
- Python: AttributeError: ‘_io.TextIOWrapper’ object has no attribute ‘split’
- Pip – Fatal error in launcher: Unable to create process using ‘”‘
- ImportError: No module named ‘yaml’
- TypeError: ‘_io.TextIOWrapper’ object is not subscriptable
- How to print multiple lines of text with Python
- Could not load file or assembly ‘Microsoft.CodeDom.Providers.DotNetCompilerPlatform
- LINK : fatal error LNK1561: entry point must be defined ERROR IN VC++
- Win32 Console Application
- How do I run pip on python for windows?
- Need to install urllib2 for Python 3.5.1
- python: can’t open file ‘manage.py’: [Errno 2] No such file or directory
- What does {0} mean in this Python string?
- Tab Error in Python
- Python 3.5.1 urllib has no attribute request
- serviceHub.Host.CLR.x86 taking a lot of memory and CPC
- Visual Studio Python “Failed to launch the Python Process, please validate the path ‘python” & Error: spawn python ENOENT
- Why do I get this error “TypeError: ‘method’ object is not iterable”?
- What is the purpose of dollar sign in this Python3 string formatting expression?
- Visual Studio 2015 Intellisense not working
- “Are you missing an assembly reference?” compile error – Visual Studio
- What is the meaning of “int(a[::-1])” in Python?
- Is there any way to program Java on Visual Studio 2015
- How to install Visual Studio Build Tools 2010 on Visual Studio 2015 Community?
- Getting a name error when trying to input a string [duplicate]
- TypeError: fit() missing 1 required positional argument: ‘y’
- How to fix the error “Windows SDK version 8.1” was not found?
- How to configure Eclipse CDT for cmake?
- How do I open a Visual Studio project in design view?
- error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
- Error loading MySQLdb module: No module named ‘MySQLdb’
- Consider app.config remapping of assembly with no app.config mapping
- XML schema error – root element of a w3c xml schema
- LINK : fatal error LNK1104: cannot open file ‘D:\…\MyProj.exe’
- Python 3 integer division [duplicate]
- Visual studio Express Edition vs Community
- Python – difference between two strings