internal compiler error is unpleasant. Possibly means a mismatch in the required xtensor version.
If you’re installing on Ubuntu, then why use anaconda? dolfinx is already available for Ubuntu, Download – FEniCS Project
(sudo apt-get install fenicsx
)