<div dir="ltr"><div class="gmail_default" style="font-family:garamond,serif;font-size:large;color:rgb(0,0,0)">hi, in that case try this one</div><div class="gmail_default" style="font-family:garamond,serif;font-size:large;color:rgb(0,0,0)">git clone <a href="https://github.com/PyMVPA/PyMVPA">https://github.com/PyMVPA/PyMVPA</a><br></div><div class="gmail_default" style="font-family:garamond,serif;font-size:large;color:rgb(0,0,0)">and continue the recipe given</div><div class="gmail_default" style="font-family:garamond,serif;font-size:large;color:rgb(0,0,0)">hth</div><div class="gmail_default" style="font-family:garamond,serif;font-size:large;color:rgb(0,0,0)">david</div><div class="gmail_extra"><div class="gmail_quote">On 22 June 2016 at 22:42, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);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 <a href="http://github.com" target="_blank">github.com</a>:</div>
<div><a href="http://github.com" target="_blank">github.com</a>[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:rgb(0,0,0);font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Pkg-ExpPsy-PyMVPA [pkg-exppsy-pymvpa-bounces+andytsai=<a href="mailto:mit.edu@lists.alioth.debian.org" target="_blank">mit.edu@lists.alioth.debian.org</a>] on behalf of David Soto [<a href="mailto:d.soto.b@gmail.com" target="_blank">d.soto.b@gmail.com</a>]<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 style="font-family:garamond,serif;font-size:large;color:rgb(0,0,0)">
<div>Hi, I had trouble with macports, but was able to install all dependencias and <span>PyMVPA</span> via hombrew and pip </div>
<div><br>
</div>
<div>this is my recipe in case you would like to try it out, it works on my Mac with el Capitan</div>
<div><br>
</div>
<div>best</div>
<div>david</div>
<div>
<div>_________________________________________________________________<span style="white-space:pre-wrap">
</span><br>
</div>
<div>#  Install command line tools</div>
<div><br>
</div>
<div>xcode-select --install </div>
<div><br>
</div>
<div>_________________________________________________________________</div>
<div># Installing Brew</div>
<div>/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>_________________________________________________________________</div>
<div># Set up some taps and update brew</div>
<div>brew tap homebrew/science</div>
<div>brew tap homebrew/python</div>
<div>brew update && brew upgrade</div>
<div>_________________________________________________________________</div>
<div># Install a brewed python  </div>
<div>brew install python</div>
<div><br>
</div>
<div>_________________________________________________________________</div>
<div>#Install numpy, cython and h5py and scipy</div>
<div>pip install numpy</div>
<div>pip install scipy</div>
<div>pip install cython</div>
<div>brew install hdf5 </div>
<div>pip install h5py  </div>
<div>pip install nipy</div>
<div><br>
</div>
<div>#Install matplotlib with cairo support for png, ps, pdf and svg files</div>
<div>brew install matplotlib --with-cairo</div>
<div>_________________________________________________________________</div>
<div>#Relink numpy to brew as it was installed with pip</div>
<div>brew link --overwrite numpy</div>
<div>_________________________________________________________________</div>
<div>#Install Pandas</div>
<div>pip install pandas</div>
<div>_________________________________________________________________</div>
<div>#Install ipython with parallel and notebook support</div>
<div>brew install zmq</div>
<div>pip install ipython[all]</div>
<div>_________________________________________________________________</div>
<div>#install IDE ninja</div>
<div>pip install macfsevents</div>
<div>brew install ninja-ide</div>
<div>_________________________________________________________________</div>
<div>pip install -U scikit-learn   </div>
<div>_________________________________________________________________</div>
<div>#<span>PYMVPA</span></div>
<div>pip install nibabel</div>
<div>brew install swig</div>
<div><br>
</div>
<div>_________________________________________________________________</div>
<div>#Download <span>PYMVPA</span> from github and extract</div>
<div>git clone git://<a href="http://github.com/PyMVPA/PyMVPA.git" target="_blank">github.com/<span>PyMVPA</span>/<span>PyMVPA</span>.git</a></div>
<div>unzip master</div>
<div>cd <span>PyMVPA</span>-master</div>
<div><br>
</div>
<div>#Build libsvm</div>
<div>sudo make 3rd</div>
<div><br>
</div>
<div>#Build <span>PyMVPA</span> itself</div>
<div>sudo python setup.py build_ext</div>
<div><br>
</div>
<div>#And install</div>
<div>sudo python setup.py install</div>
<div><br>
</div>
<div>If you get a locale error</div>
<div>ValueError: unknown locale: UTF-8</div>
<div>Either run these commands before running python or add them to your bash_profile or .profile</div>
<div>export LC_ALL=en_US.UTF-8</div>
<div>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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);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>
</div>

<br>_______________________________________________<br>
Pkg-ExpPsy-PyMVPA mailing list<br>
<a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org">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>