Dear developers of FEniCS,
I want to use FEniCS as a numerical experiment tool to study finite element exterior calculus. And I've tried to install FEniCS in several ways. But all have bugs reported. I use Ubuntu 16.04.5 LTS 64bit and Anaconda5.2 python 3.6 version.
First I tried:
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:fenics-packages/fenics
sudo apt-get update
sudo apt-get install --no-install-recommends fenics
Though no errors are reported, when I typed "python -c 'import FEniCS', it returned No module named 'fenics'.
I also used Anaconda:
conda create -n fenicsproject -c conda-forge fenics
source activate fenicsproject
Again, no errors are reported, when I tried to run fenics-tutorial, for example "python ft01_poisson.py", it was said that name 'interactive' is not defined. And when I tried to run 'python ft02_poisson_membrane.py', it was said 'No module named mshr' And when I tried to run 'python ft02_heat.py', it was returned: object has no attribute 'array'.
I also tried install the stable version using:
pip3 install fenics-ffc --upgrade
FENICS_VERSION=$(python3 -c"import ffc; print(ffc.__version__)")
mkdir dolfin/build && cd dolfin/build && cmake .. && make install && cd ../..
mkdir mshr/build && cd mshr/build && cmake .. && make install && cd ../..
cd dolfin/python && pip3 install . && cd ../..
cd mshr/python && pip3 install . && cd ../..
But error happened when installing mshr:
Could not find a version that satisfies the requirement fenics-dolfin (from mshr===2018.1.0) (from versions: )
No matching distribution found for fenics-dolfin (from mshr===2018.1.0)
I checked Slack but still no answers were founded.
Could you tell me how can I successfully install FEniCS? Do I need to add some environment variables or install some missing components?
I send again using a different email because my last email has been bounded back. So I don't know whether the email has been received.
Best regards!
Yifan