Hi,
you might need to run conda clean --index-cache before attempting to install (see download page).
Afterwards OVITO 3.10 installs fine on my m1 mac book.
(default) ➜ python
Python 3.11.6 | packaged by conda-forge | (main, Oct 3 2023, 10:37:07) [Clang 15.0.7 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ovito
>>> ovito.version
(3, 10, 0)
>>> from ovito.vis import LinesVis
>>>
I tried on a fresh conda environment, but I got this error. Do you know how to fix it?
I have MacOs 13, but i guess the 11.0 is something else, right?
(ovito-conda) ~ % conda clean --index-cache
There are no index cache(s) to remove.
(ovito-conda) ~ % conda install --strict-channel-priority -c https://conda.ovito.org -c conda-forge ovito==3.10.0
Channels:
- https://conda.ovito.org
- conda-forge
- defaults
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- package ovito-3.10.0-py310h2c949bd_1 requires qt6-main >=6.6.1,<6.7.0a0, but none of the providers can be installed
Could not solve for environment specs
The following packages are incompatible
├─ __osx is requested and can be installed;
└─ ovito 3.10.0 is not installable because it requires
└─ qt6-main >=6.6.1,<6.7.0a0 , which requires
└─ __osx >=11.0 , which conflicts with any installable versions previously reported.
I am not sure why this happens. First, to check whether this conflict is related to the ovito package or not, could you please try installing just the qt6-main package in a fresh environment? Thanks.
~ % conda create -n qt-test -c conda-forge qt6-main==6.6.1
Retrieving notices: ...working... done
Channels:
- conda-forge
- defaults
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- package qt6-main-6.6.1-h729e66d_0 has constraint __osx >=11.0 conflicting with __osx-10.16-0
Could not solve for environment specs
The following packages are incompatible
├─ __osx is requested and can be installed;
└─ qt6-main 6.6.1 is not installable because it requires
└─ __osx >=11.0 , which conflicts with any installable versions previously reported.
Ok, I think this shows that installation of the qt6-main package is broken on macOS/Intel. We may have to report this to the maintainers of the qt6-main package in conda-forge, because it’s not something we can fix on OVITO’s end. Maybe one more thing you could try is to install an older version of the qt6-main package, e.g. version 6.5. Then we would at least know that this is a regression.