[Neuroimaging] Nibabel does not import

Nate Vack njvack at wisc.edu
Mon Feb 4 10:18:59 EST 2019


On Windows, you can also probably do

where pip

and then

where jupyter

to see if they're pointing to the same directory.

But yeah, Matthew is right; your pip is installing stuff somewhere other
than where juypter is looking for it.

-n

On Sun, Feb 3, 2019 at 11:10 AM Matthew Brett <matthew.brett at gmail.com>
wrote:

> Hi,
>
> The most likely explanation is that the pip command is not installing
> into the same Python distribution that you are importing from.  Check
>
> import sys
> sys.prefix
>
> from Python, and cross-check with the first line of the `pip` executable.
>
> Cheers,
>
> Matthew
> _______________________________________________
> 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/20190204/cd345691/attachment.html>


More information about the Neuroimaging mailing list