<div dir="ltr">Hi Matthew,<div><br></div><div>I went right away with the suggestion of (--user flag) because it made a lot of sense to me. And it worked. Thanks</div><div><br></div><div>Best,</div><div>Badar</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div style="font-family:arial;font-size:small">Badar Almarri</div><div style="font-family:arial;font-size:small">Graduate Student</div><div style="font-family:arial;font-size:small">Dept. of Computer Science and Engr.</div><div style="font-family:arial;font-size:small">University of Connecticut</div><div style="font-family:arial;font-size:small"><a href="mailto:badar.almarri@uconn.edu" style="color:rgb(17,85,204)" target="_blank">badar.almarri@uconn.edu</a></div><div style="font-family:arial;font-size:small"><a href="http://www.linkedin.com/pub/badar-almarri/48/b09/8b8" target="_blank"><img src="https://static.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png"></a><br></div></div></div></div>
<br><div class="gmail_quote">On Sat, Apr 2, 2016 at 11:03 PM, Matthew Brett <span dir="ltr"><<a href="mailto:matthew.brett@gmail.com" target="_blank">matthew.brett@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
On Sat, Apr 2, 2016 at 7:50 PM, Badar Almarri <<a href="mailto:badar.almarri@uconn.edu">badar.almarri@uconn.edu</a>> wrote:<br>
> Hello,<br>
><br>
> I am trying to install nibabel on my OS X with Python 2.7.6 and numpy 1.8. I<br>
> install it via pip, and it only works if I sudo. Although I can see it in<br>
> the list of modules, when I import it, it says no module with this name. Any<br>
> advice? Tahnks<br>
<br>
</span>It sounds like you are using the Python that comes with OSX - I'd<br>
strongly advise you to use homebrew Python or Python downloaded from<br>
Python.org instead - see [1].<br>
<br>
Either way, I would also suggest you always use the ``--user`` flag to<br>
pip, to install into your user directories instead of the system<br>
directories.<br>
<br>
Something like:<br>
<br>
pip install --user numpy nibabel<br>
<br>
Best,<br>
<br>
Matthew<br>
<br>
[1] <a href="https://github.com/MacPython/wiki/wiki/Which-Python" rel="noreferrer" target="_blank">https://github.com/MacPython/wiki/wiki/Which-Python</a><br>
_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
</blockquote></div><br></div>