--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-ffff509c6591> in <module> ----> 1 from dedalus import public as de ~/dedalus/src/dedalus/dedalus/public.py in <module> 5 6 # Import custom logging to setup rootlogger ----> 7 from .tools import logging as logging_setup 8 9 from .core import future as _future ~/dedalus/src/dedalus/dedalus/tools/logging.py in <module> 6 import pathlib 7 import logging ----> 8 from mpi4py import MPI 9 import os 10 import sys ModuleNotFoundError: No module named 'mpi4py'
I have installed mpi4py via pip3 previously. Thus I have no idea why the system is not able to find mpi4py. Could someone please tell me what's going on?
Thank you so much!
Best,
Jinshi
--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/041f34d4-a8d3-4c0e-843d-cf981aab2681%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalu...@googlegroups.com.
Hi Daniel,
Thank you for your response!
I did try all 4 methods (PyPI, source, conda, script). Thus I used pip3 to install mpi4py when I tried to meet the requirement for installation using PyPI. For conda installation, however, I used anaconda3 platform, and activated the environment before running the tutorial. I am not sure whether I am using jupyter (Jupyter Notebook to be exact) from conda-installed python or not, but I did open the jupyter notebook from Anaconda.
Yet, the problem that I had above (No module named mpi4py) happened when I used the installation from script method. Yet I also used Jupyter Notebook from Anaconda3.
Best,
Jinshi
On Friday, December 27, 2019 at 6:05:56 PM UTC-5, Daniel Lecoanet wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to dedalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/041f34d4-a8d3-4c0e-843d-cf981aab2681%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/67276f2b-4230-4a9e-8a60-d5af5071f45c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/67276f2b-4230-4a9e-8a60-d5af5071f45c%40googlegroups.com.
Hi Daniel,
Thank you for your reply!
The result of "which jupyter" on my computer is:
/home/jinshi/anaconda3/bin/jupyter
which is the conda version that I am using.
The result of "which pip" is:
/home/jinshi/anaconda3/envs/dedalus/bin/pip
but the result of "which pip3" is
/usr/bin/pip3
which is similar to your condition. However, when I run a jupyter notebook via anaconda3 (with dedalus environment activated), I still failed at the first step. The error message is
No module named 'dedalus'
Best,Jinshi
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/67276f2b-4230-4a9e-8a60-d5af5071f45c%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/45e9cc94-9700-4e1d-803f-62c7ae91b33e%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/45e9cc94-9700-4e1d-803f-62c7ae91b33e%40googlegroups.com.