astro-informatics / s2let

Fast wavelet transforms on the sphere.
http://astro-informatics.github.io/s2let
GNU General Public License v3.0
14 stars 2 forks source link

unable to install, remote not found #37

Closed s6sebusc closed 3 years ago

s6sebusc commented 3 years ago

I wanted to try out your software, attempted to install via pip install, but I'm getting the following error:

Building wheel for pys2let (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: ~/S2LET_env/bin/python3.6 ~/S2LET_env/lib64/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpnqf_ni6i
       cwd: /tmp/pip-install-85qylbgp/pys2let_e06174fb3efe4101b9feaf6100bda2e8
  Complete output (101 lines):
  Not searching for unused variables given on the command line.
  -- The C compiler identification is GNU 7.4.1
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /tmp/pip-install-85qylbgp/pys2let_e06174fb3efe4101b9feaf6100bda2e8/_cmake_test_compile/build
  -- The C compiler identification is GNU 7.4.1
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Downloading conan.cmake from https://github.com/conan-io/cmake-conan
  -- Conan: checking conan executable
  -- Conan: Found program /tmp/pip-build-env-_5qfl8yq/overlay/bin/conan
  -- Conan: Version found Conan version 1.36.0

  -- Conan: checking conan executable
  -- Conan: Found program /tmp/pip-build-env-_5qfl8yq/overlay/bin/conan
  -- Conan: Version found Conan version 1.36.0

  -- Conan: Adding astro-informatics remote repository (https://api.bintray.com/conan/astro-informatics/astro-informatics)
  -- Conan: Automatic detection of conan settings from cmake
  -- Conan: Settings= -s;build_type=Release;-s;compiler=gcc;-s;compiler.version=7
  -- Conan: checking conan executable
  -- Conan: Found program /tmp/pip-build-env-_5qfl8yq/overlay/bin/conan
  -- Conan: Version found Conan version 1.36.0

  -- Conan executing: /tmp/pip-build-env-_5qfl8yq/overlay/bin/conan install . -s build_type=Release -s compiler=gcc -s compiler.version=7 -g=cmake --build=missing
  Configuration:
  [settings]
  arch=x86_64
  arch_build=x86_64
  build_type=Release
  compiler=gcc
  compiler.version=7
  os=Linux
  os_build=Linux
  [options]
  [build_requires]
  [env]

  so3/1.3.1@astro-informatics/stable: Not found in local cache, looking in remotes...
  so3/1.3.1@astro-informatics/stable: Trying with 'conan-center'...
  so3/1.3.1@astro-informatics/stable: Trying with 'astro-informatics'...
  ERROR: Unable to find 'so3/1.3.1@astro-informatics/stable' in remotes
  CMake Error at _skbuild/linux-x86_64-3.6/cmake-build/conan.cmake:402 (message):
    Conan install failed='1'
  Call Stack (most recent call first):
    _skbuild/linux-x86_64-3.6/cmake-build/conan.cmake:497 (conan_cmake_install)
    cmake/conan_dependencies.cmake:33 (conan_cmake_run)
    CMakeLists.txt:25 (include)

I tried this on two different linux systems, both return the same error. Any idea what I'm doing wrong?

mdavezac commented 3 years ago

Unfortunately, the host for the packages, bintray, is sunsetting in favor of conan-center and we are still in the process of moving s2let there (see https://github.com/conan-io/conan-center-index/pull/5178). The current options are to install from source (first ssht, then so3, then s2let) or to wait a bit until we get there.

s6sebusc commented 3 years ago

Thanks a lot for the quick reply! I was able to install both ssht and so3 from source. However, so3 is not listed when I say conan search. When I try to install s2let from the downloaded repository in the same way, conan again tries and fails to get so3 from remote (so3/1.3.1@user/testing: Not found in local cache, looking in remotes...). I was able to install both the C-package and the python version of so3 following the instructions on http://astro-informatics.github.io/so3/, but how do I tell conan about it?

mdavezac commented 3 years ago

You don't. You want to disable conan for now with "cmake -Dconan_deps=OFF" and rely on cmake rather than conan to find so3 and ssht. You may need to edit the cmake flags in "setup.py". Sorry, it's not so easy right now, but I hope got get it back to "pip install pys2let" in the next few weeks.

mdavezac commented 3 years ago

We've opened a PR against conan-center conan-io/conan-center-index#5550. Hopefully, it will all be resolved soon.

mdavezac commented 3 years ago

Meanwhile, "pip install git+https://github.com/astro-informatics/s2let.git@feature/conan-center" should work.

mdavezac commented 3 years ago

There is a new version available on pypi that should install easily.