0% found this document useful (0 votes)
38 views

Python Pre-Installations

To set up Python for machine learning and natural language processing, the document outlines installing Python 3.7, Visual C++ frameworks, and several libraries including TensorFlow, Matplotlib, Deepface, PyAudio, SpeechRecognition, NLTK, and TextBlob. Key steps include downloading and installing Python, selecting the "Add to PATH" option, opening the command window as administrator to run pip install commands for each library, and downloading NLTK data using a specific command.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Python Pre-Installations

To set up Python for machine learning and natural language processing, the document outlines installing Python 3.7, Visual C++ frameworks, and several libraries including TensorFlow, Matplotlib, Deepface, PyAudio, SpeechRecognition, NLTK, and TextBlob. Key steps include downloading and installing Python, selecting the "Add to PATH" option, opening the command window as administrator to run pip install commands for each library, and downloading NLTK data using a specific command.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Python Pre-requisites

1. Install Python 3.7.0


https://www.python.org/downloads/release/python-370/

Scroll down the page and download the file (relevant to your OS).

Make sure to select the option of “Add to PATH” while installing.

2. Install Visual C++ Frameworks for your OS


https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

Open Command Window by pressing Windows ( ) key, then type “cmd” (Right Click
on “Command Prompt” and select “Run as Administrator”)

On the command window, type the following commands:

3. Install “tensorflow” library


pip install tensorflow

4. Install “tensorflow-cpu” library


pip install tensorflow-cpu

5. Install “matplotlib” library


pip install matplotlib

6. Install “deepface” library


pip install deepface

7. Install “PyAudio” library


Download the file (as per your OS) from the following link and run the command
https://drive.google.com/drive/folders/1IEXWwqgVkPBfJWb6d_Ao-
lvrH9mRRSs4?usp=sharing

For 32-bit
pip install PyAudio-0.2.11-cp37-cp37m-win32.whl
For 64-bit
pip install PyAudio-0.2.11-cp37-cp37m-win_amd64.whl

8. Install “SpeechRecognition” library


pip install SpeechRecognition

9. Install “Natural Language Toolkit”


pip install nltk

10. Install “NLTK Data”


python -m textblob.download_corpora

11. Install “textblob” library


pip install textblob

You might also like