Forum Navigation
You need to log in to create posts and topics.

Use conda to install only to version 2.9.0

When I use the following command to install, the version of ovito is always 2.9.0, I want to update to 3.0.× version.

"conda install -c https://conda.ovito.org -c conda-forge ovito"

I tried the following methods to update, but it didn't work.

"conda update -c https://conda.ovito.org  ovito"

what should I do?

I'm not sure, but perhaps the ovito 3.0 package is not compatible with your Anaconda environment. It may then fall back to the old ovito 2.9 package that still exists in the conda-forge channel.

Could you please let me know which operating system you are using. The ovito 3.0 package is only available for 64-bit operating systems and 64-bit Anaconda distributions.

Thanks, my operating system is Ubuntu LTS 18.04.1, 5.3.0-53-generic, 64-bit.

I am currently using conda, version 4.8.3.  Python 3.7.4

It should also be pointed out here that I have used the graphical interface version of ovito 2.9.0. I don’t know if this will affect?

I have downloaded the graphical interface version 3.0.1. And using it now, but the version python module is still at 2.9.0.

Thanks again, for this practical software.

If you had installed OVITO 2.9.0 from some other source, for example as a program package download from our website, it should not affect the installation of the OVITO 3.0 conda package now.

Below is the terminal output you should see during the installation of the OVITO 3.0 conda package on an Ubuntu Linux system in a fresh Anaconda environment. Please compare to your output. Pay particular attention to the following two lines, indicating that the conda installer is pulling the 64-bit Linux version of the package from our conda channel:

ovito-3.0.1 | py38h04863e7_0 26.8 MB https://conda.ovito.org

ovito None/linux-64::ovito-3.0.1-py38h04863e7_0

(ovito_test_new) stuko@mogli9:~$ conda install -c https://conda.ovito.org -c conda-forge ovito
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /nfshome/stuko/miniconda3/envs/ovito_test_new

  added / updated specs:
    - ovito


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2020.4.5.2 |       hecda079_0         147 KB  conda-forge
    certifi-2020.4.5.2         |   py38h32f6830_0         152 KB  conda-forge
    ffmpeg-4.2.3               |       h167e202_0        80.2 MB  conda-forge
    glib-2.64.3                |       h6f030ca_0         3.4 MB  conda-forge
    gnutls-3.6.13              |       h79a8f9a_0         2.1 MB  conda-forge
    jpeg-9d                    |       h516909a_0         266 KB  conda-forge
    ld_impl_linux-64-2.34      |       h53a641e_5         616 KB  conda-forge
    libedit-3.1.20191231       |       h46ee950_0         187 KB  conda-forge
    libssh2-1.9.0              |       hab1572f_2         298 KB  conda-forge
    numpy-1.18.5               |   py38h8854b6b_0         5.2 MB  conda-forge
    openh264-2.1.1             |       h8b12597_0         1.5 MB  conda-forge
    ovito-3.0.1                |   py38h04863e7_0        26.8 MB  https://conda.ovito.org
    pip-20.1.1                 |             py_1         1.1 MB  conda-forge
    python-3.8.3               |cpython_he5300dc_0        71.0 MB  conda-forge
    setuptools-47.1.1          |   py38h32f6830_0         653 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       193.6 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge
  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-1_llvm
  bzip2              conda-forge/linux-64::bzip2-1.0.8-h516909a_2
  ca-certificates    conda-forge/linux-64::ca-certificates-2020.4.5.2-hecda079_0
  certifi            conda-forge/linux-64::certifi-2020.4.5.2-py38h32f6830_0
  curl               conda-forge/linux-64::curl-7.69.1-h33f0ec9_0
  dbus               conda-forge/linux-64::dbus-1.13.6-he372182_0
  expat              conda-forge/linux-64::expat-2.2.9-he1b5a44_2
  ffmpeg             conda-forge/linux-64::ffmpeg-4.2.3-h167e202_0
  fontconfig         conda-forge/linux-64::fontconfig-2.13.1-h86ecdb6_1001
  freetype           conda-forge/linux-64::freetype-2.10.2-he06d7ca_0
  gettext            conda-forge/linux-64::gettext-0.19.8.1-hc5be6a0_1002
  glib               conda-forge/linux-64::glib-2.64.3-h6f030ca_0
  gmp                conda-forge/linux-64::gmp-6.2.0-he1b5a44_2
  gnutls             conda-forge/linux-64::gnutls-3.6.13-h79a8f9a_0
  gst-plugins-base   conda-forge/linux-64::gst-plugins-base-1.14.5-h0935bb2_2
  gstreamer          conda-forge/linux-64::gstreamer-1.14.5-h36ae1b5_2
  hdf4               conda-forge/linux-64::hdf4-4.2.13-hf30be14_1003
  hdf5               conda-forge/linux-64::hdf5-1.10.6-nompi_h3c11f04_100
  icu                conda-forge/linux-64::icu-64.2-he1b5a44_1
  jpeg               conda-forge/linux-64::jpeg-9d-h516909a_0
  krb5               conda-forge/linux-64::krb5-1.17.1-h2fd8d38_0
  lame               conda-forge/linux-64::lame-3.100-h14c3975_1001
  ld_impl_linux-64   conda-forge/linux-64::ld_impl_linux-64-2.34-h53a641e_5
  libblas            conda-forge/linux-64::libblas-3.8.0-16_openblas
  libcblas           conda-forge/linux-64::libcblas-3.8.0-16_openblas
  libclang           conda-forge/linux-64::libclang-9.0.1-default_hde54327_0
  libcurl            conda-forge/linux-64::libcurl-7.69.1-hf7181ac_0
  libedit            conda-forge/linux-64::libedit-3.1.20191231-h46ee950_0
  libffi             conda-forge/linux-64::libffi-3.2.1-he1b5a44_1007
  libgcc-ng          conda-forge/linux-64::libgcc-ng-9.2.0-h24d8f2e_2
  libgfortran-ng     conda-forge/linux-64::libgfortran-ng-7.5.0-hdf63c60_6
  libiconv           conda-forge/linux-64::libiconv-1.15-h516909a_1006
  liblapack          conda-forge/linux-64::liblapack-3.8.0-16_openblas
  libllvm9           conda-forge/linux-64::libllvm9-9.0.1-he513fc3_1
  libnetcdf          conda-forge/linux-64::libnetcdf-4.7.4-nompi_h84807e1_104
  libopenblas        conda-forge/linux-64::libopenblas-0.3.9-h5ec1e0e_0
  libpng             conda-forge/linux-64::libpng-1.6.37-hed695b0_1
  libsodium          conda-forge/linux-64::libsodium-1.0.18-h516909a_0
  libssh2            conda-forge/linux-64::libssh2-1.9.0-hab1572f_2
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-9.2.0-hdf63c60_2
  libuuid            conda-forge/linux-64::libuuid-2.32.1-h14c3975_1000
  libxcb             conda-forge/linux-64::libxcb-1.13-h14c3975_1002
  libxkbcommon       conda-forge/linux-64::libxkbcommon-0.10.0-he1b5a44_0
  libxml2            conda-forge/linux-64::libxml2-2.9.10-hee79883_0
  libxslt            conda-forge/linux-64::libxslt-1.1.33-h31b3aaa_0
  llvm-openmp        conda-forge/linux-64::llvm-openmp-10.0.0-hc9558a2_0
  ncurses            conda-forge/linux-64::ncurses-6.1-hf484d3e_1002
  nettle             conda-forge/linux-64::nettle-3.4.1-h1bed415_1002
  nspr               conda-forge/linux-64::nspr-4.25-he1b5a44_0
  nss                conda-forge/linux-64::nss-3.47-he751ad9_0
  numpy              conda-forge/linux-64::numpy-1.18.5-py38h8854b6b_0
  openh264           conda-forge/linux-64::openh264-2.1.1-h8b12597_0
  openssl            conda-forge/linux-64::openssl-1.1.1g-h516909a_0
  ospray_ovito       None/linux-64::ospray_ovito-2.1.0-h6bb024c_1
  ovito              None/linux-64::ovito-3.0.1-py38h04863e7_0
  pcre               conda-forge/linux-64::pcre-8.44-he1b5a44_0
  pip                conda-forge/noarch::pip-20.1.1-py_1
  pthread-stubs      conda-forge/linux-64::pthread-stubs-0.4-h14c3975_1001
  pyside2            conda-forge/linux-64::pyside2-5.13.2-py38hbee1fde_2
  python             conda-forge/linux-64::python-3.8.3-cpython_he5300dc_0
  python_abi         conda-forge/linux-64::python_abi-3.8-1_cp38
  qt                 conda-forge/linux-64::qt-5.12.5-hd8c4c69_1
  readline           conda-forge/linux-64::readline-8.0-hf8c457e_0
  setuptools         conda-forge/linux-64::setuptools-47.1.1-py38h32f6830_0
  sqlite             conda-forge/linux-64::sqlite-3.30.1-hcee41ef_0
  tbb                conda-forge/linux-64::tbb-2020.1-hc9558a2_0
  tk                 conda-forge/linux-64::tk-8.6.10-hed695b0_0
  wheel              conda-forge/noarch::wheel-0.34.2-py_1
  x264               conda-forge/linux-64::x264-1!152.20180806-h14c3975_0
  xorg-libxau        conda-forge/linux-64::xorg-libxau-1.0.9-h14c3975_0
  xorg-libxdmcp      conda-forge/linux-64::xorg-libxdmcp-1.1.3-h516909a_0
  xz                 conda-forge/linux-64::xz-5.2.5-h516909a_0
  zlib               conda-forge/linux-64::zlib-1.2.11-h516909a_1006


Proceed ([y]/n)?

 

I tried to remove and reinstall, but it still shows 2.9.0, from conda-forge/linux-64::ovito-2.9.0-py37h416b9a0_5, instead of ovito-3.0.1 | py38h04863e7_0 26.8 MB https://conda.ovito.org

Package Plan ##

environment location: /home/metison/opt/miniconda3/envs/corsac

added / updated specs:
- ovito

The following NEW packages will be INSTALLED:

ase conda-forge/noarch::ase-3.19.1-py_0
click conda-forge/noarch::click-7.1.2-pyh9f0ad1d_0
flask conda-forge/noarch::flask-1.1.2-pyh9f0ad1d_0
itsdangerous conda-forge/noarch::itsdangerous-1.1.0-py_0
matplotlib-base pkgs/main/linux-64::matplotlib-base-3.1.3-py37hef1b27d_0
ovito conda-forge/linux-64::ovito-2.9.0-py37h416b9a0_5
python_abi conda-forge/linux-64::python_abi-3.7-1_cp37m
werkzeug conda-forge/noarch::werkzeug-1.0.1-pyh9f0ad1d_0

The following packages will be UPDATED:

ca-certificates pkgs/main::ca-certificates-2020.1.1-0 --> conda-forge::ca-certificates-2020.4.5.2-hecda079_0
certifi pkgs/main::certifi-2020.4.5.1-py37_0 --> conda-forge::certifi-2020.4.5.2-py37hc8dfbb8_0

The following packages will be SUPERSEDED by a higher-priority channel:

openssl pkgs/main::openssl-1.1.1g-h7b6447c_0 --> conda-forge::openssl-1.1.1g-h516909a_0

Proceed ([y]/n)?

That's surprising to me. But I have to admit that I am not an Anaconda expert. The main difference I currently see between your environment and mine is that you are using a Python 3.7 interpreter while I am using a Miniconda version with 3.8 Python. But our conda channel for OVITO provides packages for both Python interpreter versions, so this difference should not matter.

Could you please try the following extended command again to force conda to install OVITO 3.0.1:

conda install --strict-channel-priority --show-channel-urls --override-channels -c https://conda.ovito.org -c conda-forge ovito=3.0.1

See conda install command documentation.

Thanks a lot, the issue has been solved, and the final command line  is as follows:

conda install -c https://conda.ovito.org -c conda-forge ovito=3.0.1

The only thing that needs to be done is to specify the version number. Strictly limiting the priority of the channel will prompt package conflicts, so the following commands are not applicable in my environment.

conda install --strict-channel-priority --show-channel-urls
--override-channels -c https://conda.ovito.org -c conda-forge
ovito=3.0.1

Hope this helps people in the same situation.

Thanks again!

Excellent. Thanks for letting me know that it worked. I've updated our website to include the required version specification in the install command line.