1

I have an account on a machine with a specific envirnoment, I want to install packages such as Keras and NLTK.

pip install keras

But I have the following error:

Installing collected packages: pyyaml, scipy, keras Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/home/user/virt_env/lib/python3.5/site-packages/PyYAML-3.13.dist-info' Consider using the --user option or check the permissions.

I've tried --user option and not solved

Can not perform a '--user' install. User site-packages are not visible in this virtualenv.

I've tried

python3 -m pip install keras

Also, the same error!

I've contacted the machine admin and he told me he allowed me those permissions. So, how to solve it?

Thanks,

userInThisWorld
  • 1,361
  • 4
  • 18
  • 35

0 Answers0