I am not able to install dlib in anaconda(python version 3.7.1)
I tried by installing Cmake, creating environment variable but I get error on the anaconda prompt. Can anyone help me with this?
Try to create a new virtual environment in Anaconda by running the following code in command line
conda create --name opencv-env python=3.6
After that, activate the environment
conda activate opencv-env
And finally, run the following command to install OpenCV and other important packages
pip install numpy scipy matplotlib scikit-learn (spyder/jupyter or whatever environment you are using)
pip install opencv-contrib-python
pip install dlib
If after that you still get an error asking you to update Virtual Studio that supports C++11, run the below command
pip install https://pypi.python.org/packages/da/06/bd3e241c4eb0a662914b3b4875fc52dd176a9db0d4a2c915ac2ad8800e9e/dlib-19.7.0-cp36-cp36m-win_amd64.whl#md5=b7330a5b2d46420343fbed5df69e6a3f
I hope this helps
Reference
https://www.learnopencv.com/install-opencv-3-and-dlib-on-windows-python-only/
https://stackoverflow.com/questions/41912372/dlib-installation-on-windows-10
https://github.com/davisking/dlib/issues/1660
Thanks Mr. Harisu Abdullahi Shehu .
You are most welcome:)
follow the link
https://medium.com/@aaditya.chhabra/install-dlib-python-api-for-windows-pc-97fe35e01cd
1. Open Anaconda Prompt in Administrative mode.
2. conda update conda 3. conda update anaconda
4. conda create -n dlib_env python=3.7
5. conda activate dlib_env
6. conda install -c conda-forge dlib
7. python
7.1 >>> import dlib 7.2 >>> dlib.__version__
Dlib is support with python 3.6 to 3.7.0 version s. Try to install the dlib in anaconda prompt by following command.,
step 1: conda create -n env_name python=3.7.0
step 2: conda activate env_name
step 3: conda install cmake
step 4: conda install -c conda-forge dlib=19.17
If cmake is installed then
Just try this command
conda install -c conda-forge dlib
Then proceed it with 'y'
Now, check whether it is installed or not
python >>import dlib
If error is not occurred then dlib is successfully installed
To check the dlib version
>>dlib.__version__
follow the link:
https://github.com/ageitgey/face_recognition/issues/175
You are welcome Nishat Anjum Lea
I think you should use Python 3.6 or you can use anaconda and create a new environment Python 3.6
this video will show you how to install dlib in python 3.6
https://www.youtube.com/watch?v=HqjcqpCNiZg
Create virtual environments for python with Anaconda Python 3.6 it will be easy to install dlib
this link will help you how to create a new environment and work on it
https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands
i also faced this problem probably the python version problem
conda install -c menpo dlib
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- dlib -> python[version='2.7.*|3.4.*|3.5.*']
Your python: python=3.8
Saran Zeb Please see my answer above. However, you should use python = 3.8 as your python version is python 3.8
Harisu Abdullahi Shehu thank let me try thank you
Harisu Abdullahi Shehu i have created my envr with python3.8 and have installed all the libraries on it cant ? we install with python 3.8 ?
conda install -c conda-forge dlib worked for me thank you guys
Thankyou everyone. Issue is resolved
I want to know more about Uranium ore deposits in world.
11 August 2024 6,720 0 View
I want to know more about diamond ore deposits in world.
11 August 2024 2,167 1 View
We assume that the difference is huge and that it is not possible to compare the two spaces. The R^4 mathematical space considers time as an external controller and the space itself is immobile in...
10 August 2024 6,678 14 View
If Banks do not provide credit facility, what are the options available for FPOs and impact on producer’s income?
10 August 2024 8,198 5 View
I used eye tracking to examine how participants from two different populations (A and B) react to an image. Participants in population A exhibit larger pupil sizes over time, but they also have...
10 August 2024 3,229 0 View
What are a “Farmers Producer Organization” (FPO) and its essential features?
10 August 2024 477 5 View
I have been doing the m6A dot blot for a while with no improvement, I am extracting the RNA, and I can see the dots although the three biological replicas give a different reading on the memberan...
10 August 2024 8,539 5 View
How do interactions between the biosphere, the carbon cycle, and the water cycle impact global warming and interaction between the atmosphere and the hydrosphere?
09 August 2024 3,291 2 View
I have input a moment load in module load Abaqus, i put my moment load on the node surface (using reference point). I have define moment in history output and make a set for moment too. But the...
08 August 2024 4,831 4 View
How is energy cycled through the Earth's climate system and how do matter cycle and energy flow through the rock cycle?
08 August 2024 8,162 0 View
Hi, I am working on LAMMPS molecular simulation on CO2 mineralization. I have some scripts which require to compile Lammps files using cmake in ubuntu. Is there anyone who has some expertise can...
20 May 2024 5,026 2 View
Hello everyone, I am currently working on a project involving py4vasp for crystal structure analysis. I have successfully installed py4vasp, Jupyter Lab, and Jupyter Notebook in a Conda...
08 September 2023 4,848 0 View
I'm trying to install DAMASK using source code on Ubuntu 22.04. But, It is not passing the PETSc test. I'm also getting errors while compiling using cmake. I need to know the flags used in the...
24 July 2023 1,399 1 View
I have been trying to install Roots on my windows 10 but when it got to creating the visual studio generator, it failed to create it. I have installed CMake yet its not working. How do I solve...
14 April 2023 7,653 3 View
Hello, I am trying to convert PRISMA images from TOA to BOA using FLAASH in ENVI software, but, once preprocessed, the spectrum of the FLAASH file gets gaps in the SWIR region. I have tested...
26 March 2023 3,785 2 View
this is the reference https://www.google.com/amp/s/www.deccanchronicle.com/amp/nation/crime/080121/illegal-sand-boa-trade-may-make-the-rare-snake-go-extinct.html
06 March 2023 6,983 1 View
I follow the user manual in lammps.org/. I install LAMMPS and build LAMMPS with CMake. I want to work my lammps file with atom_style full, error is occuring. I re-build and compile to my build...
03 January 2023 7,317 0 View
I have complied LPJ-Guess model using visual basic code. I can run the model with the test data without any errors. I need to run the model for the Australian climate data for vegetation...
08 December 2022 5,365 2 View
Hi everyone! I tried to do covalent docking using the scripts available on the AutoDock4 website, and it is said that I need python and openbabel python bindings. I installed python on Linux and...
11 October 2022 9,386 3 View
Hi, I'm trying to install Gromacs on Windows, so far I've been following the guide from https://manual.gromacs.org/documentation/current/install-guide/index.html I could get the C and C++...
01 August 2022 5,541 4 View