# ποΈ in a virtual environment or using Python 2
$ pip install pyodbc
# ποΈ for python 3 (could also be pip3.10 depending on your version)
$ pip3 install pyodbc
# ποΈ if you get permissions error
$ sudo pip3 install pyodbc
$ pip install pyodbc --user
# ποΈ if you don't have pip in your PATH environment variable
$ python -m pip install pyodbc
# ποΈ for python 3 (could also be pip3.10 depending on your version)
$ python3 -m pip install pyodbc
# ποΈ using py alias (Windows)
$ py -m pip install pyodbc
# ποΈ for Anaconda
$ conda install -c anaconda pyodbc
# ποΈ for Jupyter Notebook
$ !pip install pyodbc
# ποΈ search python path
$ which python3
# ποΈ insert -> alias python="which python3 result path"
$ vi ~/.zshrc
# ποΈ reset zshrc
$ source ~/.zshrc
# ποΈ check version
$ python --version