Closed amr8004 closed 3 months ago
@amr8004
conda install -y -c conda-forge pycalphad
to the end of Dockerfile
pycalphad
from conda
(see above) to pip
installation in the Dockerfile
This error occurs when you try to import pycalphad or anything wherein in the jupyter notebook
Appears fixed now!
In codespace, pycalphad requires
notebook error below:
ImportError Traceback (most recent call last) Cell In[1], line 4 2 import nimplex 3 from utils import plotting ----> 4 import pycalphad
File /opt/conda/lib/python3.11/site-packages/pycalphad/init.py:16 14 from pycalphad.core.calculate import calculate 15 from pycalphad.core.equilibrium import equilibrium ---> 16 from pycalphad.plot.binary import binplot 17 from pycalphad.plot.ternary import ternplot 18 from pycalphad.plot.eqplot import eqplot
File /opt/conda/lib/python3.11/site-packages/pycalphad/plot/init.py:1 ----> 1 from . import triangular
File /opt/conda/lib/python3.11/site-packages/pycalphad/plot/triangular.py:16 1 """ 2 Register a
'triangular'
projection with matplotlib to plot diagrams on 3 triangular axes. (...) 13 14 """ ---> 16 from matplotlib.axes import Axes ... 93 f"Core version: {getattr(core, 'PILLOW_VERSION', None)}\n" 94 f"Pillow version: {version}" 95 )ImportError: libtiff.so.5: cannot open shared object file: No such file or directory