Cleaning installation instructions using venv

This commit is contained in:
Mathieu 2021-08-22 18:49:05 +02:00
parent 4726cfdac9
commit d1fe531ddf

View File

@ -25,12 +25,14 @@ speech to text and then try to execute your request.
If not already installed, you will need Python 3.9, you can install it with these commands. If not already installed, you will need Python 3.9, you can install it with these commands.
```shell ```shell
sudo add-apt-repository ppa:deadsnakes/ppa sudo add-apt-repository ppa:deadsnakes/ppa # optional
sudo apt-get update sudo apt-get update
sudo apt install python3.9 python3.9-dev python3.9-distutils sudo apt install python3.9 python3.9-dev python3.9-distutils
sudo apt-get install -y python3-dev libasound2-dev # required even if python is already installed sudo apt-get install -y python3-dev python3-virtualenv libasound2-dev # required even if python is already installed
``` ```
Go into jarvis-client folder and run `virtualenv --python python3.9 venv` followed by `source venv/bin/activate`
### Install requirements ### Install requirements
Run the command `python -m pip3 install -r requirements.txt` to install the basic requirements for the project. Run the command `python -m pip3 install -r requirements.txt` to install the basic requirements for the project.