Closed EricTheMagician closed 5 years ago
So your install command that was failing was conda install vtk==8.2.0
and did not also specify paraview?
If so, then it could be some change in how conda handles run_constrained
(We have attempted to disallow installation both vtk
and paraview
at the same time since paraview
already bundles its own VTK)
@grlee77 That's right. I did not specify paraview.
I'm not sure how this all works, but I ultimately want to have it in a local repo so that we don't have to continously hammer anaconda.org. So what I tried also was to edit the metadata in the archive and removed the reference to paraview in the index.json but it still fails.
I end up getting this error, which is the same but more annoying because it's not clear to me how to solve it.
UnsatisfiableError: The following specifications were found to be in conflict:
- vtk==8.2.0
Use "conda search <package> --info" to see the dependencies for each package.
I am running Miniconda rather than Anaconda, but I could not reproduce the issue (conda
is version 4.7.11
on linux). I tried the following, but no conflicts/errors are raised:
conda create -n vtk_test -c conda-forge vtk==8.2.0
Try it with opencv==4.1.1 It will force the specific build of vtk as there's only one build of vtk so far that uses the run_constrained.
Edit: nvm. I just tried it and it does work.
The issue is with anaconda. If I try conda create -n vtk_test -c conda-forge vtk==8.2.0 anaconda==2019.3
, it fails due to the hdf5 version.
I just discovered conda constructor. So I will just create a new python distribution based on my needs rather than that of anaconda.
Issue: Cannot install vtk==8.2.0 on linux-64 starting with a fresh install of Anaconda 2019.03.
Downloading the package manually from conda forge and then manually installing it with
works, but it's not very clean. I don't have paraview installed.
Environment (
conda list
):Details about
conda
and system (conda info
):