-
|
Currently |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
|
Weird--I can't reproduce this problem. What is the output from |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
I think the problem is that the conda-forge channel is not enabled. The official PySCF conda packages depend on libstdc++ and libgcc >= 13.2.0, and those aren't available through Anaconda's main channel. Try |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your help!
But, if the conda-forge channel has to be enabled, the correct instruction should be described in documentation, which is currently wrong. Or, just recommend By the way, may I ask why pyscf does not support installation with libgcc from default (main) channel (i.e. not packaged with libgcc from default channel) any more? What's the reason for binding to conda-forge channel? |
Beta Was this translation helpful? Give feedback.
-
|
No problem! I think if you put the conda-forge channel in your .condarc, all those commands would work. More and more installations of conda come with this by default; perhaps that's why the documentation recommends As for why compatibility with (The libgcc requirement comes from the compiler used to build pyscf--by default, it is gcc 13.2.0 from conda-forge.) |
Beta Was this translation helpful? Give feedback.
-
|
I am one of the maintainer of the MOKIT(a MR workflow prog)'s conda package, which is built with gcc 11 from main channel (of course we could switch to conda-forge, but at the beginning I only knew the most common channel and use it -- as pyscf did two or three years ago). Some of our users reported that installing mokit is not compatible with pyscf from conda-forge and pyscf channel so I have to dig into it and ask the question above out of curiosity. Our current solution is to use pyscf from pip and it works good. And switching to conda-forge is another potential choice. |
Beta Was this translation helpful? Give feedback.
-
|
Sorry you are having problems with distributing MOKIT. If you have a moment, could you try running This worked for me. You can also add the options Breakdown of the command, in case someone else finds this thread:
For reference, here's the output of |
Beta Was this translation helpful? Give feedback.
-
|
(also, recent conda versions have gotten much faster and it could be worth upgrading) |
Beta Was this translation helpful? Give feedback.
-
Thanks, I test this method in several machines and it works! |
Beta Was this translation helpful? Give feedback.
No problem!
I think if you put the conda-forge channel in your .condarc, all those commands would work. More and more installations of conda come with this by default; perhaps that's why the documentation recommends
conda install pyscf -c pyscf.As for why compatibility with
mainis not supported; I am not sure. Is there a feature you need that's only offered in main and not conda-forge?(The libgcc requirement comes from the compiler used to build pyscf--by default, it is gcc 13.2.0 from conda-forge.)