Create your own virtual assistant with just a few lines code (Using only PYTHON)
Hello & Welcome to this git page. Here I just created my own virtual assistant with just a few lines of code. It is not an issue if you are a beginner, or an advanced coder this way of building your own virtual assistant is very simple and quick.
The only major thing required from your side is the will to go step by step with me and by the end of it you will have your own virtual assistant up & running as a charm.
To learn more about how I did it you can watch my YouTube video on this or click here.
Pre-Requisites:
- Python Interpreter (Like PyCharm)
- Python Environment (Like Anaconda)
- Basic knowledge of how Python works & computers work
- A will to explore
When all the above pre-requisites are there and ready you can start to work on your own virtual assistant. Please follow each and every step in order & if you have any error just go to the issues to see if you find any issue that matches your which is already resolved before opening an issues.
Steps:
For Windows users:
- Open PyCharm & create a new project with your virtual environment ready.
- Open the terminal and paste the following in sequential order line by line(Execute it one by one):
pip install speechRecognistion
pip install pyttsx3
pip install pywhatkit
pip install wikipedia
pip install pyjokes
Install this if necessary (Only when the code gives error)
pip install pyaudio
- Copy the code given in main.py (in this git) & you will have the code up & running on your pc.
- If you want to learn how this code actually works the go watch my YouTube video for a better understanding.
For Linux/MacOs users:
- Learn all the above commands on terminal.
- Make sure to use pip3, because in linux pip refers for python2 and pip3 refers to python3.
- Install these too -
pip3 install pyAudio