PermissionError: [WinError 32]

Asked by At

I'm studying python in school now and I tried to run the code provided by professor. However, this is the biggest issue so far I cannot figure out. I have downloaded rpy2 and when I try to install R packages (e.g. shiny) it shows PermissionError: [WinError 32]. How do I fix it?

%pylab inline
import os
from ipypublish import nb_setup
%load_ext rpy2.ipython


I got this error message:

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\-\AppData\Local\Temp\tmpa7_m8p_n\Rplots001.png'

0 Answers