Posts

Showing posts from February, 2022

How to download python 3.10.2 | Cool Py

Image
 Python 3.10.2 If you want to download python 3.10.2 without any errors you should know some important points:  1) Your computer should run windows 8,8.1 or higher to install python 3.10.2. 2) You can download python 3.10.2 on 32Bit and 64Bit Computers. Downloading Python 3.10.2 Steps: 1) First go to Pythons official website. You can click on python or go to https://python.org/downloads {Note: If you have 32 Bit computer then download from this  link . And then go into 3.10.2 releases and click on 32Bit installer } 2) Then click on download 3) Then python installer menu will open. Now click on add python to system variables{Note: This is important as this will help you to run python from any location} 4) Then continue and again continue 5) Now select the location where you want to download python and click on continue 6) Now open any terminal like CMD or Powershell and type the following commands: i) python{Note: If any error occurs then please comment me down}  ii)...

Best Python Web Development FrameWork | DJango v/s Flask | Cool Py

There are many frameworks for webdevelopment in python but only two are leading, Django and Flask. DJango V/S Flask If you talk to do web development in python you will hear only two frameworks Django and Flask.  DJango Django is very good and popular famework and has everything built in. It is used to handle large Projects. Flask Flask is also good and popular but you have to code everything from scratch like databases. And it is used to handel small projects. Conclusion I will recommend you flask if you are a beginner and want to make small projects. But if you want to make large projects and make them quickly you should go with django. You should use django because it is more beginner friendly and will make you happy when you will code a website in django!

How to solve Dlib error on python 3.10 and up versions | Without any errors | Cool Py

Image
Hello Guys! Today I will tell you how to solve dlib error while installing face recognition module in python. Note: This trick will only work in python 3.10 and upper versions of python. Problem while installing face recognition module As you all know that while installing face recognition module so many error come, Like: You have to download visual studio for c++, dlib error and many other errors. Problem while installing Dlib module If you try to install dlib directly you will get another error telling to download cmake. But after you download cmake then also dlib will not install and throw another error. Solution Step by Step: These are the steps to solve the error completely Step 1: Open any terminal like : CMD, Powershell Step 2: Type the commands:  1) "pip install cmake"  2) " pip install https://github.com/jloh02/dlib/releases/download/v19 .22 /dlib- 19.22 .99 -cp310-cp310-win_amd64.whl" 3) "pip install face_recognition"{Note: Don't forget the u...