-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Conda installation Issues #2259
Comments
If you install from source, you need to install The conda message is not complete, so i cannot help you with that. For the spack installation, you have misspelled the package name (it is |
Thank you for your response. I include the conda message in full below, I had thought the latest trace would be enough if it was a common issue. With spack, sorry for the silly mistake, indeed import dolfinx is error-free. import fenics however does not find the library. Is there an independent conda package for fenics itself, or is this fully included in the dolfinx python package in the latest version? conda install -c conda-forge fenics-dolfinx mpich pyvista >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
environment variables:
populated config files : An unexpected error has occurred. Conda has prepared the above report. |
For DOLFINx, you do not need any |
I'll have to look for an explanation/workaround/fix, but it looks like a conda bug that it's erroring when presented with overlapping globs. You might try creating a fresh env (replace |
This seems to happen to more packages lately, see for example conda/conda#11442, conda/conda-build#4498 and pyne/pyne#1452. The last one includes a comment with a workaround (if using mamba instead of conda is okay for you): pyne/pyne#1452 (comment). Thus, it seems this is an issue with conda and not necessarily with dolfinx. |
Tracked and submitted fix to conda: conda/conda#11612 The core of this appears to be in the conda-forge petsc packages, which should be getting fixed builds to avoid the conflict. New packages should be up later today. Tracking: conda-forge/petsc-feedstock#147 |
Mamba works now, I'm not sure if repodata needs to be patched for conda to avoid considering the older builds. In the meantime: conda install -c conda-forge mamba # if you don't have mamba
mamba install -c conda-forge fenics-dolfinx |
Since I had the same problem. Thank your very much! |
The petsc metadata patches have been applied, so this should be fixed:
output
|
When I try to install from source I receive:
`
/Documents/Fenics/dolfinx-main/cpp/build$ cmake ..
fatal: not a git repository (or any of the parent directories): .git
CMake Error at CMakeLists.txt:126 (find_package):
By not providing "Findpugixml.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "pugixml", but
CMake did not find one.
Could not find a package configuration file provided by "pugixml" with any
of the following names:
pugixmlConfig.cmake
pugixml-config.cmake
Add the installation prefix of "pugixml" to CMAKE_PREFIX_PATH or set
"pugixml_DIR" to a directory containing one of the above files. If
"pugixml" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
`
When I try to install by anaconda:
`
conda install -c conda-forge fenics-dolfinx mpich pyvista
Collecting package metadata (current_repodata.json): failed
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
....
`
However when I try with spack, it appears to install without error
Yet when I try
`python
import fenics`
or
python import dolphinx
the libraries are not found
Please help?
The text was updated successfully, but these errors were encountered: