Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install, remote not found #37

Closed
s6sebusc opened this issue May 4, 2021 · 6 comments · Fixed by #38
Closed

unable to install, remote not found #37

s6sebusc opened this issue May 4, 2021 · 6 comments · Fixed by #38

Comments

@s6sebusc
Copy link

s6sebusc commented May 4, 2021

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
Copy link
Member

mdavezac commented May 4, 2021

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 conan-io/conan-center-index#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
Copy link
Author

s6sebusc commented May 5, 2021

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
Copy link
Member

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
Copy link
Member

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

@mdavezac
Copy link
Member

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

@mdavezac
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants