I have installed an open source python platform for data analysis called YT and was trying to run a python script with the following imports:
import yt
import numpy as np
import yt.visualization.eps_writer as eps
from yt.data_objects.particle_filters import add_particle_filter
from matplotlib import pyplot as plt
plt.switch_backend('agg')
However, I get an error of not being able to find the module pyx:
> Traceback (most recent call last): File "gasinflow.py", line 3, in
> <module>
> import yt.visualization.eps_writer as eps File "/home/samvad/anaconda3/lib/python3.6/site-packages/yt/visualization/eps_writer.py",
> line 16, in <module>
> import pyx ModuleNotFoundError: No module named 'pyx'
Python version: 3.6 I have come across this being an issue with Cython not being installed but Cython-0.29.7 is installed too.