how to install python libraries using pip with specific python version code example Example: install packages with pip from python pip3 install <package_name>