OVITO python module installation

Hello good people,
I have been trying to install ovito python module using

conda install --strict-channel-priority -c https://conda.ovito.org -c conda-forge ovito=3.10.2

But I am getting this error:

Collecting package metadata (current_repodata.json): failed

CondaHTTPError: HTTP 500 INTERNAL SERVER ERROR for url https://conda.ovito.org/linux-ppc64le/current_repodata.json
Elapsed: 00:07.371748

A remote server error occurred when trying to retrieve this URL.

A 500-type error (e.g. 500, 501, 502, 503, etc.) indicates the server failed to
fulfill a valid request. The problem may be spurious, and will resolve itself if you
try your request again. If the problem persists, consider notifying the maintainer
of the remote server.

I think I have been seeing this error for sometime now. Any suggestions? Thanks.

Hi!

It looks like this error was due to a web server configuration problem, which needed to be solved on our end. The web server hosting the conda channel was responding with http redirects instead of code 404 to non-existing URL requests, which made the conda install command fail.

This problem should be solved now, please try again.

However, it seems you were trying to install Ovito on a Linux machine with ppc64le architecture. Is that correct? This will not work in any case, because we currently don’t provide builds for this processor type - only x86_64.

Thanks for resolving the issue. It’s working now.

And yes, that particular machine is on a ppc64 architecture. I am switching to a x86_64 machine now. Thanks again.

@stukowski

I am also having same issue with Apple Silicon.

Even after succesful installation I could not import ovito.

Could you please attach the output of the conda list command? I would like to see how your conda environment looks like after installation of the ovito package. I assume you have installed the package now using the conda install command.

Yes I did conda install

# packages in environment at /Users/asd/miniconda3/envs/ovito:
#
# Name                    Version                   Build  Channel
aom                       3.8.1                h078ce10_0    conda-forge
blosc                     1.21.5               hc338f07_0    conda-forge
bzip2                     1.0.8                h620ffc9_4  
c-ares                    1.26.0               h93a5062_0    conda-forge
ca-certificates           2024.2.2             hf0a4a13_0    conda-forge
cairo                     1.18.0               hd1e100b_0    conda-forge
dav1d                     1.2.1                hb547adb_0    conda-forge
double-conversion         3.3.0                h13dd4ca_0    conda-forge
expat                     2.5.0                h313beb8_0  
ffmpeg                    6.1.1           gpl_h31ea89b_104    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 h77eed37_1    conda-forge
fontconfig                2.14.2               h82840c6_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freetype                  2.12.1               hadb7bae_2    conda-forge
fribidi                   1.0.10               h27ca646_0    conda-forge
gettext                   0.21.1               h0186832_0    conda-forge
glib                      2.78.3               h9e231a4_0    conda-forge
glib-tools                2.78.3               h9e231a4_0    conda-forge
gmp                       6.3.0                h965bd2d_0    conda-forge
gnutls                    3.7.9                hd26332c_0    conda-forge
graphite2                 1.3.13            h9f76cd9_1001    conda-forge
gst-plugins-base          1.22.9               h09b4b5e_0    conda-forge
gstreamer                 1.22.9               h551c6ff_0    conda-forge
harfbuzz                  8.3.0                h8f0ba13_0    conda-forge
hdf4                      4.2.15               h2ee6834_7    conda-forge
hdf5                      1.14.3          nompi_h5bb55e9_100    conda-forge
icu                       73.2                 hc8870d7_0    conda-forge
krb5                      1.21.2               h92f50d5_0    conda-forge
lame                      3.100             h1a8c8d9_1003    conda-forge
lerc                      4.0.0                h9a09cb3_0    conda-forge
libabseil                 20230802.1      cxx17_h13dd4ca_0    conda-forge
libaec                    1.1.2                h13dd4ca_1    conda-forge
libass                    0.17.1               hf7da4fe_1    conda-forge
libclang                  15.0.7          default_hd209bcb_4    conda-forge
libclang13                15.0.7          default_ha49e599_4    conda-forge
libcurl                   8.5.0                h2d989ff_0    conda-forge
libcxx                    16.0.6               h4653b0c_0    conda-forge
libdeflate                1.19                 hb547adb_0    conda-forge
libedit                   3.1.20191231         hc8eb9b7_2    conda-forge
libev                     4.33                 h93a5062_2    conda-forge
libexpat                  2.5.0                hb7217d7_1    conda-forge
libffi                    3.4.4                hca03da5_0  
libgfortran               5.0.0           13_2_0_hd922786_3    conda-forge
libgfortran5              13.2.0               hf226fd6_3    conda-forge
libglib                   2.78.3               hb438215_0    conda-forge
libhwloc                  2.9.3           default_h4394839_1009    conda-forge
libiconv                  1.17                 h0d3ecfb_2    conda-forge
libidn2                   2.3.7                h93a5062_0    conda-forge
libjpeg-turbo             3.0.0                hb547adb_1    conda-forge
libllvm15                 15.0.7               h2621b3d_4    conda-forge
libnetcdf                 4.9.2           nompi_h291a7c2_113    conda-forge
libnghttp2                1.58.0               ha4dd798_1    conda-forge
libogg                    1.3.4                h27ca646_1    conda-forge
libopenvino               2023.3.0             he6dadac_0    conda-forge
libopenvino-arm-cpu-plugin 2023.3.0             he6dadac_0    conda-forge
libopenvino-auto-batch-plugin 2023.3.0             hc9f00d9_0    conda-forge
libopenvino-auto-plugin   2023.3.0             hc9f00d9_0    conda-forge
libopenvino-hetero-plugin 2023.3.0             hf483cef_0    conda-forge
libopenvino-ir-frontend   2023.3.0             hf483cef_0    conda-forge
libopenvino-onnx-frontend 2023.3.0             h98f6304_0    conda-forge
libopenvino-paddle-frontend 2023.3.0             h98f6304_0    conda-forge
libopenvino-pytorch-frontend 2023.3.0             hebf3989_0    conda-forge
libopenvino-tensorflow-frontend 2023.3.0             hb5ee477_0    conda-forge
libopenvino-tensorflow-lite-frontend 2023.3.0             hebf3989_0    conda-forge
libopus                   1.3.1                h27ca646_1    conda-forge
libpng                    1.6.42               h091b4b1_0    conda-forge
libpq                     16.2                 h0f8b458_0    conda-forge
libprotobuf               4.25.1               h810fc01_1    conda-forge
libsqlite                 3.45.1               h091b4b1_0    conda-forge
libssh                    0.10.6               hf52a3f6_1    conda-forge
libssh2                   1.11.0               h7a5bd25_0    conda-forge
libtasn1                  4.19.0               h1a8c8d9_0    conda-forge
libtiff                   4.6.0                ha8a6c65_2    conda-forge
libunistring              0.9.10               h3422bc3_0    conda-forge
libvorbis                 1.3.7                h9f76cd9_0    conda-forge
libvpx                    1.13.1               hb765f3a_0    conda-forge
libwebp-base              1.3.2                hb547adb_0    conda-forge
libxml2                   2.12.5               h0d0cfa8_0    conda-forge
libzip                    1.10.1               ha0bc3c6_3    conda-forge
libzlib                   1.2.13               h53f4e23_5    conda-forge
llvm-openmp               17.0.6               hcd81f8e_0    conda-forge
lz4-c                     1.9.4                hb7217d7_0    conda-forge
mysql-common              8.0.33               hf9e6398_6    conda-forge
mysql-libs                8.0.33               he3dca8b_6    conda-forge
ncurses                   6.4                  h313beb8_0  
nettle                    3.9.1                h40ed0f5_0    conda-forge
openh264                  2.4.1                hebf3989_0    conda-forge
openssl                   3.2.1                h0d3ecfb_0    conda-forge
ovito                     3.10.2               haf2e8d7_0    conda-forge
p11-kit                   0.24.1               h29577a5_0    conda-forge
pcre2                     10.42                h26f9a81_0    conda-forge
pip                       23.3.1          py312hca03da5_0  
pixman                    0.43.2               hebf3989_0    conda-forge
pugixml                   1.14                 h13dd4ca_0    conda-forge
python                    3.12.1               h99e199e_0  
qt6-main                  6.6.2                hd6da969_0    conda-forge
readline                  8.2                  h1a28f6b_0  
setuptools                68.2.2          py312hca03da5_0  
snappy                    1.1.10               h17c5cce_0    conda-forge
sqlite                    3.41.2               h80987f9_0  
svt-av1                   1.8.0                h463b476_0    conda-forge
tbb                       2021.11.0            h2ffa867_1    conda-forge
tk                        8.6.12               hb8d0fd4_0  
tzdata                    2023d                h04d1e81_0  
wheel                     0.41.2          py312hca03da5_0  
x264                      1!164.3095           h57fd34a_2    conda-forge
x265                      3.5                  hbc6ce65_3    conda-forge
xz                        5.4.5                h80987f9_0  
zlib                      1.2.13               h53f4e23_5    conda-forge
zstd                      1.5.5                h4f39d0f_0    conda-forge

You have installed the ovito package from the conda-forge channel in your environment. This package does not provide the ovito Python package, only the desktop app. You need to install the ovito package from conda.ovito.org channel. See the install instructions.

After installation, you should see this in the output of conda list (note the 4th column):

ovito        3.10.2          py311h9a57886_1    https://conda.ovito.org

I think new ovito==3.10.2 does not supports python==3.12. So downgrade python to 3.11 and install ovito, worked for me.

Right, we don’t have a Python 3.12 version of the ovito conda package yet. We will be able to provide it once conda-forge has completed the migration to Python 3.12.

1 Like