I’ve tried multiple paths of installing FEniCS including:
- Ubuntu installation from Windows Store
- Ubuntu on a virtual machine with virtual box
When I run :
conda config --add channels conda-forge
conda install fenics
I get the following error:
Solving environment: failed InvalidVersionSpecError: Invalid version spec: =2.7
Its not very descriptive, I imagine its some sort of compatibility issue but I have no clue how to find whats the problem. Both methods I’ve use a fresh install of Ubuntu.
When I run :
conda create -n fenicsproject -c conda-forge fenics
which is another instruction from the installation directions, it seems to work for a bit until it fails with the following error:
Executing transaction: failed
ERROR conda.core.link:_execute(507): An error occurred while installing package 'conda-forge::mpmath-1.2.1-pyhd8ed1ab_0'.
FileNotFoundError(2, "No such file or directory: '/home/jacob/anaconda3/envs/fenicsproject/bin/python3.8'")
Attempting to roll back.
Rolling back transaction: done
FileNotFoundError(2, "No such file or directory: '/home/jacob/anaconda3/envs/fenicsproject/bin/python3.8'")
So it seems something is wrong with mpmath? If I try to install that individually through conda it returns the same Spec version error earlier. Any solutions?