question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mpi4py not found with python3 kernel

See original GitHub issue

To reproduce: I compiled with Python 3.7

https://mybinder.org/v2/gh/ornladios/ADIOS2-Jupyter.git/python-mpi I get the following error:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-abcec1771464> in <module>
----> 1 from mpi4py import MPI
      2 import numpy as np
      3 import adios2
      4 
      5 

ModuleNotFoundError: No module named 'mpi4py'

Working version with Python 3.6: https://mybinder.org/v2/gh/williamfgc/notebooks/master

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
betatimcommented, Mar 30, 2019

Closing now as https://github.com/jupyter/repo2docker/issues/626 has been fixed and deployed.

0reactions
williamfgccommented, Mar 30, 2019

@betatim great, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation — MPI for Python 3.1.4 documentation
Lets you pass a section with MPI configuration within a special configuration file. --configure . Runs exhaustive tests for checking about missing...
Read more >
How to use mpi4py in IPython notebook? - Stack Overflow
It turns out that it requires some magic. The first line of the cell should be: %%px from mpi4py import MPI print MPI.COMM_WORLD.size....
Read more >
FAQ and Troubleshooting - NERSC Documentation
Frequently Asked Questions and Troubleshooting¶. If you have questions about Python at NERSC, please take a look at this collection of common user...
Read more >
Can't install petsc4py in Ubuntu - Bitbucket
I need to use open framework openMDAO for my project in Ubuntu. Which needs mpi4py and petsc4py, I have installed mpi4py using pip...
Read more >
Python - SciNet Users Documentation
We call these 'regular' python versions because they are not dependent ... of modules are not available in the default python environment.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found