In June of 2019, I installed Fenics and Mshr via Anaconda on Ubuntu using the command:
conda create -n fenicsproject -c conda-forge python=3.7 fenics mshr ipython.
Since then, I have used the same command multiple times and everything works fine. However, a week ago I tried the same thing and trying to import mshr using
from mshr import * I get the following error:
File "/home/hwan/Documents/Github_Codes/Thermal_Fin_Heat_Simulator/Generate_and_Save_Thermal_Fin_Data.py", line 18, in <module> from Thermal_Fin_Heat_Simulator.Utilities.forward_solve import Fin File "../Thermal_Fin_Heat_Simulator/Utilities/forward_solve.py", line 3, in <module> from mshr import * File "/home/hwan/anaconda3/envs/fenics_env_2019/lib/python3.7/site-packages/mshr/__init__.py", line 24, in <module> from .cpp import Circle ImportError: generic_type: type "CSGGeometry" referenced unknown base type "dolfin::Variable"
Has there been a change to the 2019.1.0 version? Anyone else encounter this issue? I reverted to the 2018 version and everything is fine. Also, what version does the command
conda install -c conda-forge fenics, is it 2019.1.0 for python 3.8?
Any assistance will be greatly appreciated!