I could not install packages due to an environment error, what should I do?
I was trying to install lib which is prerequisite to run my automation code, observe below error : Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/futures-3.2.0.dist-info'
My environment : MAC : 10.14
If You could not install packages due to an environment error, you either go with creating a Python virtual environment as suggested by Ernie.Or you can use the pip install --user option to install packages into your home directory where you have all required permissions. E.g.: pip install myPackage --user Do not forget to add the install directory in your home to the PATH environment variable.