fenics-tutorial icon indicating copy to clipboard operation
fenics-tutorial copied to clipboard

Facing an issue for fenics installation

Open msru opened this issue 3 years ago • 1 comments

Hello, I tried lots of ways to install “fenics library” on Linux- Ubuntu, but each time I had the following error:

Collecting package metadata (current_repodata.json): failed UnavailableInvalidChannel: The channel is not accessible or is invalid. channel name: pkgs/main channel url: https://repo.anaconda.com/pkgs/main error code: 403 You will need to adjust your conda configuration to proceed. Use conda config --show channels to view your configuration's current state, and use conda config --show-sources to view config file locations.

Would anybody let me know how to solve this problem?

msru avatar Sep 21 '21 09:09 msru

Hello. This mightn't be the best place to ask this. This project is more about a particular tutorial course on FEniCS. At https://fenicsproject.org/community/, it suggests

If you have a specific question related to obtaining, building or installing a FEniCS component, please send a message to the FEniCS support mailing list.

That said, briefly, it does work for me:

conda create -n FEniCS-2021-09-22
conda activate FEniCS-2021-09-22
conda install fenics
python ft06_elasticity.py   # e.g.

It might be something to do with the channels, as indicated in the message; in particular, mine includes conda-forge.

gdmcbain avatar Sep 22 '21 01:09 gdmcbain