[pymvpa] py27-pymvpa: build error

David Soto d.soto.b at gmail.com
Wed Jun 22 20:25:39 UTC 2016


Hi, I had trouble with macports, but was able to install all dependencias
and PyMVPA via hombrew and pip

this is my recipe in case you would like to try it out, it works on my Mac
with el Capitan

best
david
_________________________________________________________________
#  Install command line tools

xcode-select --install

_________________________________________________________________
# Installing Brew
/usr/bin/ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
_________________________________________________________________
# Set up some taps and update brew
brew tap homebrew/science
brew tap homebrew/python
brew update && brew upgrade
_________________________________________________________________
# Install a brewed python
brew install python

_________________________________________________________________
#Install numpy, cython and h5py and scipy
pip install numpy
pip install scipy
pip install cython
brew install hdf5
pip install h5py
pip install nipy

#Install matplotlib with cairo support for png, ps, pdf and svg files
brew install matplotlib --with-cairo
_________________________________________________________________
#Relink numpy to brew as it was installed with pip
brew link --overwrite numpy
_________________________________________________________________
#Install Pandas
pip install pandas
_________________________________________________________________
#Install ipython with parallel and notebook support
brew install zmq
pip install ipython[all]
_________________________________________________________________
#install IDE ninja
pip install macfsevents
brew install ninja-ide
_________________________________________________________________
pip install -U scikit-learn
_________________________________________________________________
#PYMVPA
pip install nibabel
brew install swig

_________________________________________________________________
#Download PYMVPA from github and extract
git clone git://github.com/PyMVPA/PyMVPA.git
unzip master
cd PyMVPA-master

#Build libsvm
sudo make 3rd

#Build PyMVPA itself
sudo python setup.py build_ext

#And install
sudo python setup.py install

If you get a locale error
ValueError: unknown locale: UTF-8
Either run these commands before running python or add them to your
bash_profile or .profile
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8


On 22 June 2016 at 22:18, Yun-Ta Tsai <andytsai at mit.edu> wrote:

> When i run the installation command:
> $ sudo port install py27-pymvpa +scipy +nibabel +hcluster + libsvm +
> matplotlib + pywavelet
>
> I get the following error:
> --->  Computing dependencies for py27-pymvpa
> --->  Building py27-pymvpa
> Error: org.macports.build for port py27-pymvpa returned: command execution
> failed
> Please see the log file for port py27-pymvpa for details:
>
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pymvpa/py27-pymvpa/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port py27-pymvpa failed
>
> I've attached the log file. Would appreciate any help.
>
> Best,
> Andy Tsai
> Computational Biologist at UCSF School of Medicine
>
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20160622/6aae15cf/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list