4 If you’re using the Windows OS, open an Anaconda prompt and type activate yourenvname. And if you’re using Mac or Linux OS, open a terminal and type source activate yourenvname. yourenvname here is your desired environment in which you want to install the pip package.