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
Jeru Luke
  • 20,118
  • 13
  • 80
  • 87
coolfun
  • 1
  • 1
  • 2

2 Answers2

2

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

be_good_do_good
  • 4,311
  • 3
  • 28
  • 42
1

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

Dragon
  • 1,194
  • 17
  • 24