# installation

**URL:** https://fenicsproject.discourse.group/c/installation/5.md?page=3

[Latest](https://fenicsproject.discourse.group/latest.md) · [Categories](https://fenicsproject.discourse.group/categories.md) · [Tags](https://fenicsproject.discourse.group/tags.md)

**Page:** 4

---

## [Can I run FEniCSx in Apple silicon M3 max?](https://fenicsproject.discourse.group/t/can-i-run-fenicsx-in-apple-silicon-m3-max/13211)

<div class="topic-metadata">

**Author:** [@Yankang\_Liu](https://fenicsproject.discourse.group/u/Yankang_Liu)\
**Replies:** 8\
**Last updated:** [February 15, 2024, 8:26pm UTC](https://fenicsproject.discourse.group/t/can-i-run-fenicsx-in-apple-silicon-m3-max/13211 "2024-02-15T20:26:44Z")

</div>

Hello I am using a MacBook pro with m3 max chip wishing to have a better performance. I am using vs code and jupyter notebook in anaconda. I download FEniCSx package using the way on this page. But as I run import dolfin…

---

## [FeniCs on Apple silicon M1](https://fenicsproject.discourse.group/t/fenics-on-apple-silicon-m1/5471)

<div class="topic-metadata">

**Author:** [@jcarlmz](https://fenicsproject.discourse.group/u/jcarlmz)\
**Replies:** 32\
**Last updated:** [February 14, 2024, 12:50pm UTC](https://fenicsproject.discourse.group/t/fenics-on-apple-silicon-m1/5471 "2024-02-14T12:50:44Z")

</div>

Greetings community, I wish to know if FeniCs (or FeniCS-X) can be installed to run natively on the new Apple silicon M1 processor based on the arm64 architecture. Thanks.

---

## [Installation trouble](https://fenicsproject.discourse.group/t/installation-trouble/13029)

<div class="topic-metadata">

**Author:** [@Francis](https://fenicsproject.discourse.group/u/Francis)\
**Replies:** 17\
**Last updated:** [February 12, 2024, 8:17am UTC](https://fenicsproject.discourse.group/t/installation-trouble/13029 "2024-02-12T08:17:35Z")

</div>

Dear all, I’ve had a great deal of enjoyment using the old version of Fenics, however now I’ve tried to upgrade only to encounter a flurry of issues - most of which I’ve resolved. There is one that I’m stuck on and perh…

---

## [Does the test suite of Basix need an update?](https://fenicsproject.discourse.group/t/does-the-test-suite-of-basix-need-an-update/9124)

<div class="topic-metadata">

**Author:** [@edgar](https://fenicsproject.discourse.group/u/edgar)\
**Replies:** 7\
**Last updated:** [February 8, 2024, 5:36pm UTC](https://fenicsproject.discourse.group/t/does-the-test-suite-of-basix-need-an-update/9124 "2024-02-08T17:36:29Z")

</div>

1 Does the test suite of Basix need an update? ══════════════════════════════════════════════ Hi! (\<https: / / github. com / FEniCS / basix / search?q=pytest+version\> shows that there are no issues mentioning pytest…

---

## [Failed to install FEniCS in python](https://fenicsproject.discourse.group/t/failed-to-install-fenics-in-python/13488)

<div class="topic-metadata">

**Author:** [@Deep\_Math](https://fenicsproject.discourse.group/u/Deep_Math)\
**Replies:** 6\
**Last updated:** [February 4, 2024, 11:59pm UTC](https://fenicsproject.discourse.group/t/failed-to-install-fenics-in-python/13488 "2024-02-04T23:59:31Z")

</div>

I want to use conda to install it: conda create -n fenicsx-env conda activate fenicsx-env conda install -c conda-forge fenics-dolfinx mpich pyvista when I run conda install -c conda-forge fenics-dolfinx mpich pyvista i…

---

## [Trouble Installing FEniCS on Ubuntu](https://fenicsproject.discourse.group/t/trouble-installing-fenics-on-ubuntu/13444)

<div class="topic-metadata">

**Author:** [@zaccandels](https://fenicsproject.discourse.group/u/zaccandels)\
**Replies:** 5\
**Last updated:** [January 31, 2024, 7:44am UTC](https://fenicsproject.discourse.group/t/trouble-installing-fenics-on-ubuntu/13444 "2024-01-31T07:44:27Z")

</div>

I’m running the most recent LTS release of Ubuntu as of Jan. 2024. When I enter the following two commands conda create -n fenicsx-env conda activate fenicsx-env conda install -c conda-forge fenics-dolfinx mpich pyvist…

---

## [Problem with fenicsx version installed on ubuntu 20.04](https://fenicsproject.discourse.group/t/problem-with-fenicsx-version-installed-on-ubuntu-20-04/13378)

<div class="topic-metadata">

**Author:** [@Hamidreza\_Dehghani](https://fenicsproject.discourse.group/u/Hamidreza_Dehghani)\
**Replies:** 3\
**Last updated:** [January 23, 2024, 1:09pm UTC](https://fenicsproject.discourse.group/t/problem-with-fenicsx-version-installed-on-ubuntu-20-04/13378 "2024-01-23T13:09:01Z")

</div>

I have installed fenicsx on my ubuntu 20.04 using: “”" add-apt-repository ppa:fenics-packages/fenics apt update apt install fenicsx “”" everything goes smoothly but the fenicsx version that I get is 0.4.1.2. The pr…

---

## [FenicsX installation in cluster using spack](https://fenicsproject.discourse.group/t/fenicsx-installation-in-cluster-using-spack/13344)

<div class="topic-metadata">

**Author:** [@Meryem](https://fenicsproject.discourse.group/u/Meryem)\
**Replies:** 2\
**Last updated:** [January 21, 2024, 4:45pm UTC](https://fenicsproject.discourse.group/t/fenicsx-installation-in-cluster-using-spack/13344 "2024-01-21T16:45:19Z")

</div>

Hello, Following my post on parallelization, I am trying to reinstall FenicsX in the cluster using spack. I enter the following command lines: git clone https://github.com/spack/spack.git . ./spack/share/spack/setup-en…

---

## [Ubuntu 18.04 - ImportError: cannot import name 'sub\_forms\_by\_domain'](https://fenicsproject.discourse.group/t/ubuntu-18-04-importerror-cannot-import-name-sub-forms-by-domain/4257)

<div class="topic-metadata">

**Author:** [@LiborKudela](https://fenicsproject.discourse.group/u/LiborKudela)\
**Replies:** 13\
**Last updated:** [January 10, 2024, 12:08pm UTC](https://fenicsproject.discourse.group/t/ubuntu-18-04-importerror-cannot-import-name-sub-forms-by-domain/4257 "2024-01-10T12:08:45Z")

</div>

Hi, I have updated my system today (Ubuntu 18.04) and fenics is no longer working. MWE: from fenics import \* This produces: Traceback (most recent call last): File "\<string\>", line 1, in \<module\> File "/usr/lib/…

---

## [How to install Scotch and ParaMETIS inside a docker container?](https://fenicsproject.discourse.group/t/how-to-install-scotch-and-parametis-inside-a-docker-container/13252)

<div class="topic-metadata">

**Author:** [@prusso630](https://fenicsproject.discourse.group/u/prusso630)\
**Replies:** 11\
**Last updated:** [January 10, 2024, 7:55am UTC](https://fenicsproject.discourse.group/t/how-to-install-scotch-and-parametis-inside-a-docker-container/13252 "2024-01-10T07:55:58Z")

</div>

I pulled from docker with: docker run -ti dolfinx/dev-env:stable I was able to access the container through Visual Studio Code to attach the application to the container and also to start shells with. So I got a clone …

---

## [The following packages are not available from current channels: - python=3.1](https://fenicsproject.discourse.group/t/the-following-packages-are-not-available-from-current-channels-python-3-1/13258)

<div class="topic-metadata">

**Author:** [@liangaomng](https://fenicsproject.discourse.group/u/liangaomng)\
**Replies:** 1\
**Last updated:** [January 9, 2024, 1:38pm UTC](https://fenicsproject.discourse.group/t/the-following-packages-are-not-available-from-current-channels-python-3-1/13258 "2024-01-09T13:38:25Z")

</div>

when I conda install fenics(python=3.12), it imports normal. but when conda install conda-forge::fenics-dolfinx，it shos thta python=3.1.

---

## [Dolphinx\_mpc installation problem using conda](https://fenicsproject.discourse.group/t/dolphinx-mpc-installation-problem-using-conda/13122)

<div class="topic-metadata">

**Author:** [@Sujit\_Kumar\_Nath](https://fenicsproject.discourse.group/u/Sujit_Kumar_Nath)\
**Replies:** 4\
**Last updated:** [January 4, 2024, 2:06pm UTC](https://fenicsproject.discourse.group/t/dolphinx-mpc-installation-problem-using-conda/13122 "2024-01-04T14:06:47Z")

</div>

Hi, I am having problem installing dolphinx\_mpc using conda install whcih I found in this link: dolfinx\_mpc-feedstock/README.md at main · conda-forge/dolfinx\_mpc-feedstock · GitHub Below I copy my terminal commands and…

---

## [Is a docker still needed to install on Windows](https://fenicsproject.discourse.group/t/is-a-docker-still-needed-to-install-on-windows/13156)

<div class="topic-metadata">

**Author:** [@charithjeewantha](https://fenicsproject.discourse.group/u/charithjeewantha)\
**Replies:** 2\
**Last updated:** [December 27, 2023, 3:42pm UTC](https://fenicsproject.discourse.group/t/is-a-docker-still-needed-to-install-on-windows/13156 "2023-12-27T15:42:56Z")

</div>

Previously, when I wanted to use dolfinx on a windows computer, it was advised to use a docker (And I did that accordingly). But now I don’t see that instruction on the download page: Download | FEniCS Project So, does…

---

## [ImportError: cannot import name 'AbstractFiniteElement' from 'ufl.finiteelement'](https://fenicsproject.discourse.group/t/importerror-cannot-import-name-abstractfiniteelement-from-ufl-finiteelement/13154)

<div class="topic-metadata">

**Author:** [@prusso630](https://fenicsproject.discourse.group/u/prusso630)\
**Replies:** 1\
**Last updated:** [December 27, 2023, 6:38am UTC](https://fenicsproject.discourse.group/t/importerror-cannot-import-name-abstractfiniteelement-from-ufl-finiteelement/13154 "2023-12-27T06:38:36Z")

</div>

After installing in WSL2, Ubuntu 22.04.3 I’m finding that when running demo\_elasticity.py as cloned from github’s url for dolfinx package:::: prusso@Yoga730-15ikb:~/dolfinx/python$ cd /home/prusso/dolfinx/python ; /usr…

---

## [Dolfinx/lab:latest not found: manifest unknown](https://fenicsproject.discourse.group/t/dolfinx-lab-latest-not-found-manifest-unknown/13015)

<div class="topic-metadata">

**Author:** [@Pasuta](https://fenicsproject.discourse.group/u/Pasuta)\
**Replies:** 1\
**Last updated:** [December 11, 2023, 5:22am UTC](https://fenicsproject.discourse.group/t/dolfinx-lab-latest-not-found-manifest-unknown/13015 "2023-12-11T05:22:14Z")

</div>

I install fenics on docker and run this command, the first line worked but the second line has error “Unable to find image ‘dolfinx/lab:latest’ locally docker: Error response from daemon: manifest for dolfinx/lab:latest…

---

## [Install fenics 2019.1 on terminal ubuntu 22.04](https://fenicsproject.discourse.group/t/install-fenics-2019-1-on-terminal-ubuntu-22-04/12916)

<div class="topic-metadata">

**Author:** [@Chayma\_N](https://fenicsproject.discourse.group/u/Chayma_N)\
**Replies:** 21\
**Last updated:** [December 7, 2023, 12:50pm UTC](https://fenicsproject.discourse.group/t/install-fenics-2019-1-on-terminal-ubuntu-22-04/12916 "2023-12-07T12:50:50Z")

</div>

l install fenics on ubuntu 22.04, I get the version 2019.2 but I want 2019.1. How can I change the version ?

---

## [How to use pyvista in Docker for Windows 10 user](https://fenicsproject.discourse.group/t/how-to-use-pyvista-in-docker-for-windows-10-user/6921)

<div class="topic-metadata">

**Author:** [@OsbertWang](https://fenicsproject.discourse.group/u/OsbertWang)\
**Replies:** 2\
**Last updated:** [December 3, 2023, 11:10am UTC](https://fenicsproject.discourse.group/t/how-to-use-pyvista-in-docker-for-windows-10-user/6921 "2023-12-03T11:10:30Z")

</div>

Hello, I install FEniCSx in Windows 10. Following the guide obtaining-the-software, I install FEniCSx in docker by docker run -ti -v D:/work-fenicsx:/root/shared --name fenicsx-container dolfinx/dolfinx Then I downlo…

---

## [Cannot install dolfinx using canda](https://fenicsproject.discourse.group/t/cannot-install-dolfinx-using-canda/12808)

<div class="topic-metadata">

**Author:** [@Pasuta](https://fenicsproject.discourse.group/u/Pasuta)\
**Replies:** 1\
**Last updated:** [November 21, 2023, 2:20pm UTC](https://fenicsproject.discourse.group/t/cannot-install-dolfinx-using-canda/12808 "2023-11-21T14:20:56Z")

</div>

Hello,I would like to install dolfinx by using conda as following; conda create -n fenicsx-env conda activate fenicsx-env conda install -c conda-forge fenics-dolfinx mpich pyvista from GitHub - FEniCS/dolfinx: Next g…

---

## [Cannot install dolfinx by conda](https://fenicsproject.discourse.group/t/cannot-install-dolfinx-by-conda/12806)

<div class="topic-metadata">

**Author:** [@Pasuta](https://fenicsproject.discourse.group/u/Pasuta)\
**Replies:** 1\
**Last updated:** [November 21, 2023, 2:19pm UTC](https://fenicsproject.discourse.group/t/cannot-install-dolfinx-by-conda/12806 "2023-11-21T14:19:20Z")

</div>

Hello, I would like to install dolfinx by using conda as following; conda create -n fenicsx-env conda activate fenicsx-env conda install -c conda-forge fenics-dolfinx mpich pyvista but there’s problem with “conda ins…

---

## [Error trying to compile dolfinx python API](https://fenicsproject.discourse.group/t/error-trying-to-compile-dolfinx-python-api/12005)

<div class="topic-metadata">

**Author:** [@MPenaR](https://fenicsproject.discourse.group/u/MPenaR)\
**Replies:** 1\
**Last updated:** [November 14, 2023, 3:42pm UTC](https://fenicsproject.discourse.group/t/error-trying-to-compile-dolfinx-python-api/12005 "2023-11-14T15:42:53Z")

</div>

I’ve compiled PETSc ( --with-scalar-type=complex --with-petsc4py --download-mpi4py ) as well as dolfinx c++ library. I tried now to compile the python API however I get an error: \[ 92%\] Building CXX object CMakeF…

---

## [AttributeError: module 'dolfin' has no attribute 'SLEPcEigenSolver'](https://fenicsproject.discourse.group/t/attributeerror-module-dolfin-has-no-attribute-slepceigensolver/12717)

<div class="topic-metadata">

**Author:** [@Amal\_M](https://fenicsproject.discourse.group/u/Amal_M)\
**Replies:** 4\
**Last updated:** [November 11, 2023, 5:54pm UTC](https://fenicsproject.discourse.group/t/attributeerror-module-dolfin-has-no-attribute-slepceigensolver/12717 "2023-11-11T17:54:17Z")

</div>

Dear fenics community, I am trying to use SLEPcEigenSolver but I get an error AttributeError: module ‘dolfin’ has no attribute ‘SLEPcEigenSolver’ For example, running these python commands I get (I show below version …

---

## [Unable to build on Windows due to MPI](https://fenicsproject.discourse.group/t/unable-to-build-on-windows-due-to-mpi/12696)

<div class="topic-metadata">

**Author:** [@XorTdsc](https://fenicsproject.discourse.group/u/XorTdsc)\
**Replies:** 5\
**Last updated:** [November 8, 2023, 8:24pm UTC](https://fenicsproject.discourse.group/t/unable-to-build-on-windows-due-to-mpi/12696 "2023-11-08T20:24:30Z")

</div>

Hi, I’m trying to build DolfinX on Windows10 but without luck. The CMake script bails out with “Could NOT find MPI: Found unsuitable version “2.0”, but required is at least “3”.” I have installed the latest MSMPI and O…

---

## [Dolfinx requires basix 0.8](https://fenicsproject.discourse.group/t/dolfinx-requires-basix-0-8/12629)

<div class="topic-metadata">

**Author:** [@alex\_ch](https://fenicsproject.discourse.group/u/alex_ch)\
**Replies:** 2\
**Last updated:** [November 2, 2023, 7:40pm UTC](https://fenicsproject.discourse.group/t/dolfinx-requires-basix-0-8/12629 "2023-11-02T19:40:37Z")

</div>

Dolfinx requires Basix version 0.8 installed, but the latest version of Basix is 0.7 and pip install installs 0.6

---

## [Petsc4py not found when installing dolfinx 0.7.0](https://fenicsproject.discourse.group/t/petsc4py-not-found-when-installing-dolfinx-0-7-0/12542)

<div class="topic-metadata">

**Author:** [@Ekrem\_Ekici](https://fenicsproject.discourse.group/u/Ekrem_Ekici)\
**Replies:** 7\
**Last updated:** [October 26, 2023, 2:43pm UTC](https://fenicsproject.discourse.group/t/petsc4py-not-found-when-installing-dolfinx-0-7-0/12542 "2023-10-26T14:43:10Z")

</div>

Hi, When I install the dolfinx python binding, it can not find the petsc4py although it has installed. I run the code CXXFLAGS=${DOLFINX\_CMAKE\_CXX\_FLAGS} PETSC\_ARCH=linux-gnu-complex-32 pip3 install --target $VENV\_DIR/…

---

## [Can I install fenicsx using spack in my workstation?](https://fenicsproject.discourse.group/t/can-i-install-fenicsx-using-spack-in-my-workstation/12510)

<div class="topic-metadata">

**Author:** [@heitorvitorc](https://fenicsproject.discourse.group/u/heitorvitorc)\
**Replies:** 1\
**Last updated:** [October 20, 2023, 3:29pm UTC](https://fenicsproject.discourse.group/t/can-i-install-fenicsx-using-spack-in-my-workstation/12510 "2023-10-20T15:29:49Z")

</div>

Hey, I decided to make the transition from the lecacy version of FEniCS to FEniCSx and I just found that there is an option to install the app via Spack. This is the preferred installation approach for HPCs but I was wo…

---

## [Latest version that can be installed from conda](https://fenicsproject.discourse.group/t/latest-version-that-can-be-installed-from-conda/12431)

<div class="topic-metadata">

**Author:** [@Yankang\_Liu](https://fenicsproject.discourse.group/u/Yankang_Liu)\
**Replies:** 2\
**Last updated:** [October 11, 2023, 8:56pm UTC](https://fenicsproject.discourse.group/t/latest-version-that-can-be-installed-from-conda/12431 "2023-10-11T20:56:12Z")

</div>

Hello I want to check if the current lated version already packed into conda, that is, I can install by typing conda create -n fenicsx-env conda activate fenicsx-env conda install -c conda-forge fenics-dolfinx mpich pyv…

---

## [Install in Jupyterhub with pyvista](https://fenicsproject.discourse.group/t/install-in-jupyterhub-with-pyvista/12334)

<div class="topic-metadata">

**Author:** [@cmaurini](https://fenicsproject.discourse.group/u/cmaurini)\
**Replies:** 0\
**Last updated:** [September 29, 2023, 4:53am UTC](https://fenicsproject.discourse.group/t/install-in-jupyterhub-with-pyvista/12334 "2023-09-29T04:53:14Z")

</div>

Hi, We are trying to set up a Jupyterhub for teaching purposes. We have installed fenicsx but we still have issues with pyvista output. We get the following error, related to Xserver installation. Has anyone hints for …

---

## [Can't find the packages current channels, conda](https://fenicsproject.discourse.group/t/cant-find-the-packages-current-channels-conda/12270)

<div class="topic-metadata">

**Author:** [@xi\_wang](https://fenicsproject.discourse.group/u/xi_wang)\
**Replies:** 14\
**Last updated:** [September 23, 2023, 3:35pm UTC](https://fenicsproject.discourse.group/t/cant-find-the-packages-current-channels-conda/12270 "2023-09-23T15:35:09Z")

</div>

conda install -c anaconda fenics-dolfin gives

---

## [Error when installing from ppa ubuntu 18](https://fenicsproject.discourse.group/t/error-when-installing-from-ppa-ubuntu-18/12268)

<div class="topic-metadata">

**Author:** [@xi\_wang](https://fenicsproject.discourse.group/u/xi_wang)\
**Replies:** 6\
**Last updated:** [September 23, 2023, 11:59am UTC](https://fenicsproject.discourse.group/t/error-when-installing-from-ppa-ubuntu-18/12268 "2023-09-23T11:59:05Z")

</div>

Command “sudo add-apt-repository ppa:fenics-packages/fenics” gives the following error. E: The repository ‘Index of /bumblebee/stable/ubuntu bionic Release’ does not have a Release file. N: Updating from such a reposit…

---

## [Installation Error: tIGAr Module Not Found in Fenics 2019.2.0.dev0](https://fenicsproject.discourse.group/t/installation-error-tigar-module-not-found-in-fenics-2019-2-0-dev0/12236)

<div class="topic-metadata">

**Author:** [@Sina](https://fenicsproject.discourse.group/u/Sina)\
**Replies:** 1\
**Last updated:** [September 17, 2023, 6:31pm UTC](https://fenicsproject.discourse.group/t/installation-error-tigar-module-not-found-in-fenics-2019-2-0-dev0/12236 "2023-09-17T18:31:00Z")

</div>

Hello, I followed the installation instructions for tIGAr, but when I try to import it, I encounter the following error: \>\>\> import tIGAr Traceback (most recent call last): File "\<stdin\>", line 1, in \<module\> File …

[Previous page](https://fenicsproject.discourse.group/c/installation/5.md?page=2)

[Next page](https://fenicsproject.discourse.group/c/installation/5.md?page=4)
