probml / pmtk3

Probabilistic Modeling Toolkit for Matlab/Octave.
MIT License
1.55k stars 797 forks source link

Initialization error with Pmtk3 on Matlab R2017b on Windows #134

Closed ltp111 closed 6 years ago

ltp111 commented 6 years ago

I got this error when trying to install pmtk3: (There is a file called pmtksupportcopy in my pmtk3 folder) cd 'C:\Program Files\pmtk3-master' initPmtk3 initializing pmtk3 downloading packages to pmtk3/pmtksupportCopy from github - this may take a few minutes Error using urlreadwrite>validateFileAccess (line 259) Could not open output file "C:\Program Files\pmtk3-master\pmtksupportCopytemp.zip". Error in urlreadwrite>getFileOutputStream (line 241) filename = validateFileAccess(location); Error in urlreadwrite (line 68) [file,outputStream] = getFileOutputStream(inputs.filename); Error in urlwrite (line 40) [f,status] = urlreadwrite(mfilename,catchErrors,url,filename,varargin{:}); Error in downloadAllSupport (line 13) [f, success] = urlwrite(githubUrl, temporaryZipFile); Error in initPmtk3 (line 52) downloadAllSupport(fullfile(pmtk3Root(), 'pmtksupportCopy'), false);

ltp111 commented 6 years ago

I have managed to install pmtk3 now. I did that by cloning the github file instead of downloading the zip file.