<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">thank you for your help, after over a total of 8 hours of trying to install PyMVPA in vain, your helped me back on track. Thank you!</div><div class=""><br class=""></div><div class=""><b class="">However, I urgently suggest that the PyMVPA-Developers update the installation section at <a href="http://www.pymvpa.org/installation.html" class="">http://www.pymvpa.org/installation.html</a> for MacOSX. At this point it is not helpful </b><b class="">(from my beginners perspective)</b><b class="">.</b></div><div class=""><div class=""><br class=""></div><div class="">The problems in detail:</div></div><div class="">1.) The installation guide with the "Must Have“ and „Strong Recommendation“ sections in the beginning is misleading. New users (like me) will start downloading these packages (e.g. Anaconda), just to realize that the MacPorts routine below will do that automatically. This is a waste of time and memory and will lead to duplicate or triplicate versions of Python being installed... which in turn causes the PYTHONPATH-Problems I got stuck with.</div><div class=""><div class="">2.) The first few installation steps for MacOSX work fine, but then the trouble begins:</div><div class="">3.) Installing Python and the necessary toolboxes with</div><div class=""><i class=""><br class=""></i></div><div class=""><i class="">sudo port install py25-pymvpa +scipy +nibabel +hcluster +libsvm +matplotlib +pywavelet</i></div><div class=""><i class=""><br class=""></i></div><div class="">fails since the py-Version listed on the installation page is not up to date</div><div class="">(should be:</div><div class=""><i class="">sudo port install py34-pymvpa +scipy +nibabel +hcluster +libsvm +matplotlib +pywavelet </i></div><div class=""><i class="">)</i></div><div class=""><i class=""><br class=""></i></div><div class="">4.) The installation then stalls at first, because it requires SWIG (</div><div class=""><i class="">sudo port install swig-python</i></div><div class="">, SWIG alone will not do!).</div><div class="">Swig is not mentioned in the Windows/Suse, but not in the MacOSX section of the installation guide.</div><div class=""><br class=""></div><div class="">5.) <i class="">sudo port install python_select</i></div><div class="">runs without problems, but then neither</div><div class=""><i class="">sudo python_select python25 </i>(the version issue)<i class="">, nor </i><i class="">sudo python_select python34</i> will not work.</div><div class="">Apparently the syntax has changed:</div><div class=""><i class=""><br class=""></i></div><div class=""><i class="">sudo port select python python34</i></div><div class=""><br class=""></div><div class="">Will do the job (see: <a href="http://stackoverflow.com/questions/6116697/macports-python-select-command-not-found" class="">http://stackoverflow.com/questions/6116697/macports-python-select-command-not-found</a>).</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Matthias</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""> <br class=""><div><blockquote type="cite" class=""><div class="">Am 25.02.2015 um 17:56 schrieb Christopher J Markiewicz <<a href="mailto:effigies@bu.edu" class="">effigies@bu.edu</a>>:</div><br class="Apple-interchange-newline"><div class="">On 02/25/2015 11:31 AM, Matthias Zunhammer wrote:<br class=""><blockquote type="cite" class="">Hi,<br class=""><br class="">I succeeded to install pyMVPA on MacOSX, but after starting python and<br class="">typing<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">import mvpa2<br class=""></blockquote></blockquote><br class="">I get the following error:<br class=""><br class="">Traceback (most recent call last):<br class="">  File "<stdin>", line 1, in <module><br class="">ImportError: No module named mvpa2<br class=""></blockquote><br class="">Likely it's not in your PYTHONPATH.<br class=""><br class="">Find your installation:<br class="">sudo updatedb && locate mvpa2/__init__.py<br class=""><br class="">Mine is: /usr/lib/python2.7/dist-packages/mvpa2/__init__.py, so I want<br class="">to make sure /usr/lib/python2.7/dist-packages is in my python path.<br class=""><br class="">Examine your path:<br class="">python -c 'import sys; print sys.path'<br class=""><br class="">If your directory isn't in there, you can add it with a command like this:<br class=""><br class="">echo 'PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages' >> ~/.bashrc<br class=""><br class="">The single quotes are important. Obviously use the directory you found<br class="">above, and if you're not using bash, you may need to append the line to<br class="">a different RC file than ~/.bashrc.<br class=""><br class="">Hope this helps.<br class=""><br class="">-- <br class="">Christopher J Markiewicz<br class="">Ph.D. Candidate, Quantitative Neuroscience Laboratory<br class="">Boston University<br class=""><br class="">_______________________________________________<br class="">Pkg-ExpPsy-PyMVPA mailing list<br class=""><a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org" class="">Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org</a><br class="">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa</div></blockquote></div><br class=""><div apple-content-edited="true" class="">
---------------------------------------------<br class=""><span><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span><span><span><span><span><img height="47" width="182" apple-inline="yes" id="9C95D1C4-2D31-499D-AB1E-42FC2DE83DD0" apple-width="yes" apple-height="yes" src="cid:image001.jpg@01CFE6F6.9D7EF440" class=""></span><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div style="text-align: -webkit-auto; orphans: 2; widows: 2;" class=""><font face=".HelveticaNeueDeskInterface-Regular" size="2" class=""><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">Dr. phil. Matthias Zunhammer</font></div><div style="text-align: -webkit-auto; orphans: 2; widows: 2;" class=""><span style="font-size: small;" class="">M.Sc. </span><font face=".HelveticaNeueDeskInterface-Regular" size="2" class="">Neurowissenschaften </font></div></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><font face=".HelveticaNeueDeskInterface-Regular" size="2" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span><font face=".HelveticaNeueDeskInterface-Regular" size="2" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Universitätsklinikum Essen (AöR)</span><br style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Klinik für Neurologie</span><br style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Gebäude OZ I, Raum 10.4.013</span><br style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Hufelandstraße 55</span><br style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">D-45147 Essen</span><br style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""> </span><br style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Telefon +49 176 / 60016738</span><br style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Fax +49 201 / 723-6882</span><br style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">E-Mail:</span><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""> </span><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">matthias.zunhammer@uk-</span><span style="font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="http://essen.de" class="">essen.de</a></span></font><br style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class=""></span></font></div>
</span></span></span></span></span></span></div>
<br class=""></div></div></body></html>