Record problems installing fenics

Because the version of fenics may have timeliness issues after the official update, the time is also recorded.

The biggest problem with installation under Windows systems

2022-12-19 Record.
I originally wanted to install fenics through Anaconda under the Windows system. After creating the virtual environment, I used conda install -c conda-forge fenicsto install it, but I was prompted directly.

PackagesNotFoundError: The following packages are not available from current channels:
- fenics

It means that fenics cannot be found in the current channels. Go to Anaconda official website (https://anaconda.org/) and search for fenics
Insert image description herein the search results.
Insert image description here
If you choose conda-forge/fenics, the results are as follows
Insert image description here
. From the red box above, you can see that fenics does not have Windows installation. package , so even if you use the above command to install, you will still be prompted PackagesNotFoundError: The following packages are not available from current channels:.

Also on the official website of fenics, there is also the following description
Insert image description here
, which means that you have to start Windows Subsystem for Linux and install the Ubuntu distributionbefore you can install fenics.

Finally, the installation using conda under Windows was not successful.

I'll try to install it using Docker when I have time later.

Guess you like

Origin blog.csdn.net/mifangdebaise/article/details/128376705