Closed paddyroddy closed 2 years ago
Hi, I recently faced the same problem and it was solved in the following way:
Check the remote list of Conan by typing: conan remote list
. You will see all remote sites of your Conan. In my case, there was no site called "conan-center", so I had to manually add it. The command is: conan remote add conan-center https://conan.bintray.com True
. The pip correctly installed s2let, ssht and other packages for me.
Hope this helps!
@tianshu-wang this worked! The problem I was having was on my CI on GitHub Actions, so I've taken pyssht
and pys2let
out of the requirements.txt
for now and separately installed conan
first i.e.
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: py39
channel-priority: strict
environment-file: environment.yml
use-only-tar-bz2: true
- name: Fix conan problems
run: |
pip install conan==1.40.2
conan remote add conan-center https://conan.bintray.com True
pip install pys2let==2.2.3 pyssht==1.5.0
Thanks for the advise @tianshu-wang.
@paddyroddy Would you recomment we make any updates about this (e.g. to documentation)? If not can we close?
The fix from @tianshu-wang feels like a temporary fix to me. This only started happening recently, so I feel @mdavezac /someone needs to fix something somewhere.
From my CI runs, I know that it was working without this workaround on 5th September, and that it was broken on 14th September. Obviously something happened in the meantime.
I've not noticed this problem on Mac. My CI is on Linux, so either GitHub Actions
changed in that gap or conan
or something else
I'll try and take a look asap. Meanwhile: https://docs.conan.io/en/latest/uploading_packages/remotes.html#conan-center-deprecated vs https://docs.conan.io/en/latest/uploading_packages/remotes.html#conancenter
A new version pointing to conancenter should land on pypi very soon.
how soon is soon? Don't see it up yet
Please see astro-informatics/src_flag#1. I think it should resolve your problem if you are compiling src_flag by hand.
I'm having problems installing
pys2let
on Linux - seems to be working fine on mac. Related problem to https://github.com/astro-informatics/ssht/issues/54. I've tried installing the older versions but that doesn't work either.uname -a
python --version
pip install pys2let