Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing an issue for fenics installation #78

Open
msru opened this issue Sep 21, 2021 · 1 comment
Open

Facing an issue for fenics installation #78

msru opened this issue Sep 21, 2021 · 1 comment

Comments

@msru
Copy link

msru commented Sep 21, 2021

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?

@gdmcbain
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants