probml / pmtk3

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

Initialization error in initPmtk3 : Matlab R2016A and Mac OS X Yosemite #118

Open srikumar9 opened 8 years ago

srikumar9 commented 8 years ago

Hi, I am facing the following error while installation. I am using R2016A. Please help

initPmtk3 initializing pmtk3 Error using urlreadwrite (line 92) The server did not find a resource to match this request. Error in urlread (line 36) [s,status] = urlreadwrite(mfilename,catchErrors,url,varargin{:}); Error in scrapePmtkSupport (line 14) raw = tokenize(urlread(url), '\n'); Error in downloadAllSupport (line 12) packages = scrapePmtkSupport([], exclude); Error in initPmtk3 (line 52) downloadAllSupport(fullfile(pmtk3Root(), 'pmtksupportCopy'), false);

facundoq commented 8 years ago

This bug also happens on windows and linux, and Matlab 2015. I believe it is caused by http://pmtksupport.googlecode.com/svn/trunk/ not being available anymore.

srikumar9 commented 8 years ago

How should I work around this ?

facundoq commented 8 years ago

I guess you could download the repository as a tarball and make the download script copy the files from a local folder.

SergioRAgostinho commented 8 years ago

@srikumar9 Clone this repo into your hdd. Write the path down, you'll use it right after. Go to <path_to>/pmtk3/config.txt and locate the line with the entry

% PMTKlocalSupportPath     path/to/support

Change path/to/support with that path you wrote down before, i.e. <path_to>/pmtksupport.

Now initPmtk3 should run with no problems.