Updating matplotlib resolution resolution even as administrator

I am running python 2.7 on Windows 7, setting up via Anaconda. I wanted to upgrade matplotlib by running install install matplotlib --upgrade and got the following error message:

C: \ Windows \ system32> pip install matplotlib Download / unpack matplotlib Requirement already met (use --upgrade to upgrade): numpy> = 1.6 in c: \ anaco nda \ lib \ site-packages (from matplotlib) Requirement already met ( use --upgrade to upgrade): pyparsing> = 1.5.6 in c: \ anaconda \ lib \ site-packages (from matplotlib) Requirement already met (use --upgrade to upgrade): python-dateutil in c: \ anaconda \ lib \ site-packages (from matplotlib) Requirement already met (use --upgrade to upgrade): pytz in c: \ anaconda \ li b \ site-packages (from matplotlib) Requirement already met (use --upgrade to upgrade): six> = 1.4 in c: \ anacond a \ lib \ site-packages (from matplotlib) Installing built packages: matplotlib Cleanup ... Exception: Traceback (last call last): File "C:\ Anaconda \ lib \ site-packages \ pip \ basecommand.py ", line 122, basically status = self.run (options, args) File" C: \ Anaconda \ lib \ site-packages \ pip \ commands \ install. py ", line 283, per run

requirement_set.install(install_options, global_options, root=options.root_p ath)   File

      

"C: \ Anaconda \ lib \ site-packages \ pip \ req.py", line 1435, in an installation require.install (install_options, global_options, * args, ** kwargs) File "C: \ Anaconda \ lib \ site- packages \ pip \ req.py ", line 671, in the installation self.move_wheel_files (self.source_dir, root = root) File" C: \ Anaconda \ lib \ site-packages \ pip \ req.py ", line 901, in move_wheel_files

pycompile=self.pycompile,   File "C:\Anaconda\lib\site-packages\pip\wheel.py", line 215, in

      

move_wheel_fil es clobber (source, lib_dir, True) File "C: \ Anaconda \ lib \ site-packages \ pip \ wheel.py", line 209, in clobber shutil.copy2 (srcfile, destfile) File "C: \ Anaconda \ lib \ shutil.py ", line 130, in copy2 copyfile (src, dst) File" C: \ Anaconda \ lib \ shutil.py ", line 83, in copy file with open (dst, 'wb') as fdst : IOError: [Errno 13] Permission denied: 'C: \ Anaconda \ Lib \ site-packages \ matplo tlib \ ft2font.pyd'

I gave myself full control by right clicking on the Anaconda folder, going to the security tab and changing the permissions. I also restarted my command window as administrator. (The account I'm using is an administrator, but in light: What exactly does "Run as administrator" do? I thought it wouldn't hurt)

Despite these two steps, I still get IOError: [Errno13] during the cleanup phase. I can't import matplotlib anymore. I have also tried uninstalling and reinstalling matplotlib. I hope to avoid this for Anaconda.

+3


source to share





All Articles