[Neuroimaging] nibabel Installation
Badar Almarri
badar.almarri at uconn.edu
Sun Apr 3 00:45:37 EDT 2016
Hi Matthew,
I went right away with the suggestion of (--user flag) because it made a
lot of sense to me. And it worked. Thanks
Best,
Badar
Badar Almarri
Graduate Student
Dept. of Computer Science and Engr.
University of Connecticut
badar.almarri at uconn.edu
<http://www.linkedin.com/pub/badar-almarri/48/b09/8b8>
On Sat, Apr 2, 2016 at 11:03 PM, Matthew Brett <matthew.brett at gmail.com>
wrote:
> Hi,
>
> On Sat, Apr 2, 2016 at 7:50 PM, Badar Almarri <badar.almarri at uconn.edu>
> wrote:
> > Hello,
> >
> > I am trying to install nibabel on my OS X with Python 2.7.6 and numpy
> 1.8. I
> > install it via pip, and it only works if I sudo. Although I can see it in
> > the list of modules, when I import it, it says no module with this name.
> Any
> > advice? Tahnks
>
> It sounds like you are using the Python that comes with OSX - I'd
> strongly advise you to use homebrew Python or Python downloaded from
> Python.org instead - see [1].
>
> Either way, I would also suggest you always use the ``--user`` flag to
> pip, to install into your user directories instead of the system
> directories.
>
> Something like:
>
> pip install --user numpy nibabel
>
> Best,
>
> Matthew
>
> [1] https://github.com/MacPython/wiki/wiki/Which-Python
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20160403/96f2a3ae/attachment.html>
More information about the Neuroimaging
mailing list