Closed paddyroddy closed 2 years ago
I downgraded to pyssht==1.3.6
and that worked okay
Still getting this problem, but it seems to be Linux only. Related to https://github.com/astro-informatics/s2let/issues/39. Downgrading to 1.3.6
works, but no future version does.
uname -a
Linux paddy 5.11.0-7620-generic #21~1626191760~21.04~55de9c3-Ubuntu SMP Tue Jul 20 22:18:55 UTC x86_64 x86_64 x86_64 GNU/Linux
python --version
Python 3.9.6
Requirement already satisfied: pyssht in /home/paddy/miniconda3/envs/py39/lib/python3.9/site-packages (1.3.6)
Requirement already satisfied: numpy in /home/paddy/miniconda3/envs/py39/lib/python3.9/site-packages (from pyssht) (1.21.2)
Requirement already satisfied: scipy in /home/paddy/miniconda3/envs/py39/lib/python3.9/site-packages (from pyssht) (1.7.1)
~/project/src/s2sleplet develop ❯ pip install --upgrade pyssht py39 09:45:34
Requirement already satisfied: pyssht in /home/paddy/miniconda3/envs/py39/lib/python3.9/site-packages (1.3.6)
Collecting pyssht
Using cached pyssht-1.5.0.tar.gz (78 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: numpy in /home/paddy/miniconda3/envs/py39/lib/python3.9/site-packages (from pyssht) (1.21.2)
Requirement already satisfied: scipy in /home/paddy/miniconda3/envs/py39/lib/python3.9/site-packages (from pyssht) (1.7.1)
Building wheels for collected packages: pyssht
Building wheel for pyssht (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /home/paddy/miniconda3/envs/py39/bin/python /home/paddy/miniconda3/envs/py39/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpocndq8ez
cwd: /tmp/pip-install-bl1kkttg/pyssht_47ad6b99639c4c5890e415e64fdc1342
Complete output (73 lines):
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 10.3.0
-- 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-bl1kkttg/pyssht_47ad6b99639c4c5890e415e64fdc1342/_cmake_test_compile/build
-- The C compiler identification is GNU 10.3.0
-- 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-nqgl0g1y/overlay/bin/conan
-- Conan: Version found Conan version 1.40.1
-- Conan executing: /tmp/pip-build-env-nqgl0g1y/overlay/bin/conan install /tmp/pip-install-bl1kkttg/pyssht_47ad6b99639c4c5890e415e64fdc1342/conanfile.txt --remote conan-center --generator cmake_find_package --generator cmake_paths --build missing --settings build_type=Release --settings compiler=gcc --settings compiler.version=10
ERROR: No remote 'conan-center' defined in remotes
CMake Error at _skbuild/linux-x86_64-3.9/cmake-build/conan.cmake:631 (message):
Conan install failed='1'
Call Stack (most recent call first):
cmake/conan_dependencies.cmake:12 (conan_cmake_install)
CMakeLists.txt:23 (include)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-bl1kkttg/pyssht_47ad6b99639c4c5890e415e64fdc1342/_skbuild/linux-x86_64-3.9/cmake-build/CMakeFiles/CMakeOutput.log".
File "/tmp/pip-build-env-nqgl0g1y/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 586, in setup
env = cmkr.configure(cmake_args,
File "/tmp/pip-build-env-nqgl0g1y/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 237, in configure
raise SKBuildError(
--------------------------------------------------------------------------------
-- Trying "Ninja" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja" generator - success
--------------------------------------------------------------------------------
Configuring Project
Working directory:
/tmp/pip-install-bl1kkttg/pyssht_47ad6b99639c4c5890e415e64fdc1342/_skbuild/linux-x86_64-3.9/cmake-build
Command:
cmake /tmp/pip-install-bl1kkttg/pyssht_47ad6b99639c4c5890e415e64fdc1342 -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-bl1kkttg/pyssht_47ad6b99639c4c5890e415e64fdc1342/_skbuild/linux-x86_64-3.9/cmake-install -DPYTHON_EXECUTABLE:FILEPATH=/home/paddy/miniconda3/envs/py39/bin/python -DPYTHON_VERSION_STRING:STRING=3.9.6 -DPYTHON_INCLUDE_DIR:PATH=/home/paddy/miniconda3/envs/py39/include/python3.9 -DPYTHON_LIBRARY:FILEPATH=/home/paddy/miniconda3/envs/py39/lib/libpython3.9.so -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-nqgl0g1y/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -Dtests:BOOL=OFF -Dconan_deps=ON -DfPIC=ON -DCMAKE_BUILD_TYPE:STRING=Release
Traceback (most recent call last):
An error occurred while configuring with CMake.
Command:
cmake /tmp/pip-install-bl1kkttg/pyssht_47ad6b99639c4c5890e415e64fdc1342 -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-bl1kkttg/pyssht_47ad6b99639c4c5890e415e64fdc1342/_skbuild/linux-x86_64-3.9/cmake-install -DPYTHON_EXECUTABLE:FILEPATH=/home/paddy/miniconda3/envs/py39/bin/python -DPYTHON_VERSION_STRING:STRING=3.9.6 -DPYTHON_INCLUDE_DIR:PATH=/home/paddy/miniconda3/envs/py39/include/python3.9 -DPYTHON_LIBRARY:FILEPATH=/home/paddy/miniconda3/envs/py39/lib/libpython3.9.so -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-nqgl0g1y/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -Dtests:BOOL=OFF -Dconan_deps=ON -DfPIC=ON -DCMAKE_BUILD_TYPE:STRING=Release
Source directory:
/tmp/pip-install-bl1kkttg/pyssht_47ad6b99639c4c5890e415e64fdc1342
Working directory:
/tmp/pip-install-bl1kkttg/pyssht_47ad6b99639c4c5890e415e64fdc1342/_skbuild/linux-x86_64-3.9/cmake-build
Please see CMake's output for more information.
----------------------------------------
ERROR: Failed building wheel for pyssht
Failed to build pyssht
ERROR: Could not build wheels for pyssht which use PEP 517 and cannot be installed directly
@paddyroddy Is this solved by the related s2let issue #39. Can we close?
The issues are related yes, but it's not "fixed" as discussed in that other thread
I'm just trying to install
pyssht
as normal. Locally I don't encounter this issue. I'm installing this on a cluster and wonder whether it is related to https://github.com/astro-informatics/s2let/issues/37uname -a
python --version
which python