<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style><style type="text/css"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">when i tried cloning git with your recipe, it showed this:
<div><br>
</div>
<div>
<div>Cloning into 'PyMVPA'...</div>
<div>fatal: unable to connect to github.com:</div>
<div>github.com[0: 192.30.252.121]: errno=Operation timed out</div>
<div><br>
</div>
<div>however, when I checked macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pymvpa</div>
<div>I find a pymvpa folder that seems to have the files. I attached the screenshot.</div>
<div><br>
</div>
<div>however when i try to import mvpa2 into python it shows that no such module exists. where do i put the MVPA folder containing all the files in order for python to be able to import?</div>
<div><br>
</div>
<div>thanks in advance!</div>
<div><br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF140079" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Pkg-ExpPsy-PyMVPA [pkg-exppsy-pymvpa-bounces+andytsai=mit.edu@lists.alioth.debian.org] on behalf of David Soto [d.soto.b@gmail.com]<br>
<b>Sent:</b> Wednesday, June 22, 2016 4:25 PM<br>
<b>To:</b> Development and support of PyMVPA<br>
<b>Subject:</b> Re: [pymvpa] py27-pymvpa: build error<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:garamond,serif; font-size:large; color:rgb(0,0,0)">
<div class="gmail_default">Hi, I had trouble with macports, but was able to install all dependencias and <span class="">PyMVPA</span> via hombrew and pip </div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">this is my recipe in case you would like to try it out, it works on my Mac with el Capitan</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">best</div>
<div class="gmail_default">david</div>
<div class="gmail_default">
<div class="gmail_default">_________________________________________________________________<span style="white-space:pre-wrap">
</span><br>
</div>
<div class="gmail_default">#  Install command line tools</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">xcode-select --install </div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">_________________________________________________________________</div>
<div class="gmail_default"># Installing Brew</div>
<div class="gmail_default">/usr/bin/ruby -e "$(curl -fsSL <a href="https://raw.githubusercontent.com/Homebrew/install/master/install" target="_blank">https://raw.githubusercontent.com/Homebrew/install/master/install</a>)"</div>
<div class="gmail_default">_________________________________________________________________</div>
<div class="gmail_default"># Set up some taps and update brew</div>
<div class="gmail_default">brew tap homebrew/science</div>
<div class="gmail_default">brew tap homebrew/python</div>
<div class="gmail_default">brew update && brew upgrade</div>
<div class="gmail_default">_________________________________________________________________</div>
<div class="gmail_default"># Install a brewed python  </div>
<div class="gmail_default">brew install python</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">_________________________________________________________________</div>
<div class="gmail_default">#Install numpy, cython and h5py and scipy</div>
<div class="gmail_default">pip install numpy</div>
<div class="gmail_default">pip install scipy</div>
<div class="gmail_default">pip install cython</div>
<div class="gmail_default">brew install hdf5 </div>
<div class="gmail_default">pip install h5py  </div>
<div class="gmail_default">pip install nipy</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">#Install matplotlib with cairo support for png, ps, pdf and svg files</div>
<div class="gmail_default">brew install matplotlib --with-cairo</div>
<div class="gmail_default">_________________________________________________________________</div>
<div class="gmail_default">#Relink numpy to brew as it was installed with pip</div>
<div class="gmail_default">brew link --overwrite numpy</div>
<div class="gmail_default">_________________________________________________________________</div>
<div class="gmail_default">#Install Pandas</div>
<div class="gmail_default">pip install pandas</div>
<div class="gmail_default">_________________________________________________________________</div>
<div class="gmail_default">#Install ipython with parallel and notebook support</div>
<div class="gmail_default">brew install zmq</div>
<div class="gmail_default">pip install ipython[all]</div>
<div class="gmail_default">_________________________________________________________________</div>
<div class="gmail_default">#install IDE ninja</div>
<div class="gmail_default">pip install macfsevents</div>
<div class="gmail_default">brew install ninja-ide</div>
<div class="gmail_default">_________________________________________________________________</div>
<div class="gmail_default">pip install -U scikit-learn   </div>
<div class="gmail_default">_________________________________________________________________</div>
<div class="gmail_default">#<span class="">PYMVPA</span></div>
<div class="gmail_default">pip install nibabel</div>
<div class="gmail_default">brew install swig</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">_________________________________________________________________</div>
<div class="gmail_default">#Download <span class="">PYMVPA</span> from github and extract</div>
<div class="gmail_default">git clone git://<a href="http://github.com/PyMVPA/PyMVPA.git" target="_blank">github.com/<span class="">PyMVPA</span>/<span class="">PyMVPA</span>.git</a></div>
<div class="gmail_default">unzip master</div>
<div class="gmail_default">cd <span class="">PyMVPA</span>-master</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">#Build libsvm</div>
<div class="gmail_default">sudo make 3rd</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">#Build <span class="">PyMVPA</span> itself</div>
<div class="gmail_default">sudo python setup.py build_ext</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">#And install</div>
<div class="gmail_default">sudo python setup.py install</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">If you get a locale error</div>
<div class="gmail_default">ValueError: unknown locale: UTF-8</div>
<div class="gmail_default">Either run these commands before running python or add them to your bash_profile or .profile</div>
<div class="gmail_default">export LC_ALL=en_US.UTF-8</div>
<div class="gmail_default">export LANG=en_US.UTF-8</div>
<div><br>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 22 June 2016 at 22:18, Yun-Ta Tsai <span dir="ltr"><<a href="mailto:andytsai@mit.edu" target="_blank">andytsai@mit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">When i run the installation command: 
<div>$ sudo port install py27-pymvpa +scipy +nibabel +hcluster + libsvm + matplotlib + pywavelet 
<div><br>
</div>
<div>I get the following error:</div>
<div>
<div>--->  Computing dependencies for py27-pymvpa</div>
<div>--->  Building py27-pymvpa</div>
<div>Error: org.macports.build for port py27-pymvpa returned: command execution failed</div>
<div>Please see the log file for port py27-pymvpa for details:</div>
<div>    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pymvpa/py27-pymvpa/main.log</div>
<div>To report a bug, follow the instructions in the guide:</div>
<div>    <a href="http://guide.macports.org/#project.tickets" target="_blank">http://guide.macports.org/#project.tickets</a></div>
<div>Error: Processing of port py27-pymvpa failed</div>
</div>
<div><br>
</div>
<div>I've attached the log file. Would appreciate any help. </div>
</div>
<div><br>
</div>
<div>Best,</div>
<div>Andy Tsai</div>
<div>Computational Biologist at UCSF School of Medicine </div>
</div>
</div>
<br>
_______________________________________________<br>
Pkg-ExpPsy-PyMVPA mailing list<br>
<a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org" target="_blank">Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>