Running the Google Gemini on local machine
Steps:
-
Install Anaconda
-
Open terminal and create your conda environment with python version 3.9: conda create -n myenv python=3.9
-
Activate your conda environment: conda activate --myenv
-
Install pip: conda install pip
-
Install the google gen ai: pip install google-generativeai
OR
-
Install Anaconda
-
Open terminal and create your conda environment with python version 3.9: conda create -n myenv python=3.9
-
conda install python=3.9.19
-
Activate your conda environment: conda activate myenv
-
Install pip: conda install pip
-
Install all requirements from the .txt file: pip install -r requirements.txt
How to deactivate conda environment: conda deactivate
How to list all the existing conda environments: conda env list