0

I have been getting this error when I try to install joblib. How do I get around it?

joblib/test/data/joblib_0.9.4.dev0_compressed_cache_size_pickle_py35_np19.gz_01.npy.z -> build/lib/joblib/test/data
copying joblib/test/data/joblib_0.9.4.dev0_compressed_cache_size_pickle_py35_np19.gz_02.npy.z -> build/lib/joblib/test/data
copying joblib/test/data/joblib_0.9.4.dev0_compressed_cache_size_pickle_py35_np19.gz_03.npy.z -> build/lib/joblib/test/data
running install_lib
creating /Library/Python/2.7/site-packages/joblib
error: could not create '/Library/Python/2.7/site-packages/joblib': Permission denied
3
  • Permission denied -> do what you want to do with a user who has permission to do it Commented Jun 27, 2017 at 6:28
  • perform it with sudo if you are using Linux or OSX. In case of windows, run it in elevated command prompt Commented Jun 27, 2017 at 6:29
  • if you installed that on Mac/Linux from pip do sudo pip install joblib Commented Jun 27, 2017 at 6:29

2 Answers 2

2

perform the installation with sudo if you are using Linux or OSX. In case of windows, run it in elevated command prompt

Sign up to request clarification or add additional context in comments.

Comments

1

Thinking you to be present on a linux platform try sudo pip install joblibbecause the /Library folder needs root permission to be accessed.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.