You can try creating conda environment and perform the installation in the conda environment using the below steps:
1)Create conda environment
conda create --name test_env python=3.6
source activate test_env
Else you can use pip install <package_name> --user for the installation.
If you are still facing issue kindly let us know the packages you are trying to install.
Hope the solution provided satisfied your requirement. We are closing the case. Please open a fresh thread if you face any further issues.