Dlib installation error?

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 … Read more

How to downgrade python from 3.7 to 3.6

I’m trying to install tensorflow but it needs a Python 3.6 installation and I only have Python 3.7 installed. I tried to switch using brew and pyenv but it doesn’t work. Does anyone know of a way to solve this problem?

Print multiple arguments in Python

There are many ways to do this. To fix your current code using %-formatting, you need to pass in a tuple: Pass it as a tuple:print(“Total score for %s is %s” % (name, score)) A tuple with a single element looks like (‘this’,). Here are some other common ways of doing it: Pass it as a dictionary:print(“Total … Read more