I am getting this error when executing any source ipython block such as this one:
#+BEGIN_SRC ipython :session :results output drawer
# Compute areas and colors
import numpy as np
import matplotlib.pyplot as plt
N = 150
r = 2 * np.random.rand(N)
theta = 2 * np.pi * np.random.rand(N)
area = 200 * r**2
colors = theta
ax = plt.subplot(111, projection='polar')
c = ax.scatter(theta, r, c=colors, s=area, cmap='hsv', alpha=0.75)
#+END_SRC
There was a fatal error trying to process the request. See ob-ipython-debug
ob-ipython-debug:
File "/Users/USER/.emacs.d/elpa/ob-ipython-20180113.929/client.py", line 1, in <module>
import jupyter_client as client
ImportError: No module named jupyter_client
I don't know what can be wrong (I have all the necessary dependencies requires like ipython
, jupyter
, python
, and obviously ob-ipython
). Any help appreciated.
Thanks, EG