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

Failed to build astroscrappy calcos drizzle ... happens upon doing **conda env create --name stenv202309 --file https://github.com/spacetelescope/stenv/releases/download/2023.09.12/stenv-Linux-X64-py3.11-2023.09.12.yaml ** #133

Open
bkornpob opened this issue Jan 18, 2024 · 4 comments · May be fixed by #148
Assignees
Labels
bug Something isn't working

Comments

@bkornpob
Copy link

When I do
conda env create --name stenv202309 --file https://github.com/spacetelescope/stenv/releases/download/2023.09.12/stenv-Linux-X64-py3.11-2023.09.12.yaml,

I get the error [OUTPUT.txt](https://github.com/spacetelescope/stenv/files/13980450/OUTPUT.txt).

I was trying to install this using Windows Subsystem for Linux (WSL). I tested that conda was installed correctly and I ran on WSL.

Steps that can reproduce the error:

  1. Set up WSL
  2. Install Miniconda
  3. conda env create --name stenv202309 --file https://github.com/spacetelescope/stenv/releases/download/2023.09.12/stenv-Linux-X64-py3.11-2023.09.12.yaml
  4. error happened.
@bkornpob bkornpob added the bug Something isn't working label Jan 18, 2024
@zacharyburnett
Copy link
Collaborator

zacharyburnett commented Feb 5, 2024

Hello! I apologize for not seeing this issue until now (I haven't set up notifications correctly, apparently). This error is unfortunately not very descriptive:

Building wheels for collected packages: astroscrappy, calcos, drizzle, drizzlepac, jwst, reftools, spherical-geometry, stregion, stsci-image, stsci-imagestats, stsci-stimage
  Building wheel for astroscrappy (pyproject.toml): started
  Building wheel for astroscrappy (pyproject.toml): finished with status 'error'
  Building wheel for calcos (pyproject.toml): started
  Building wheel for calcos (pyproject.toml): finished with status 'error'
  Building wheel for drizzle (pyproject.toml): started
  Building wheel for drizzle (pyproject.toml): finished with status 'error'
  Building wheel for drizzlepac (pyproject.toml): started
  Building wheel for drizzlepac (pyproject.toml): finished with status 'error'
  Building wheel for jwst (pyproject.toml): started
  Building wheel for jwst (pyproject.toml): finished with status 'error'
  Building wheel for reftools (pyproject.toml): started
  Building wheel for reftools (pyproject.toml): finished with status 'error'
  Building wheel for spherical-geometry (pyproject.toml): started
  Building wheel for spherical-geometry (pyproject.toml): finished with status 'error'
  Building wheel for stregion (pyproject.toml): started
  Building wheel for stregion (pyproject.toml): finished with status 'error'
  Building wheel for stsci-image (pyproject.toml): started
  Building wheel for stsci-image (pyproject.toml): finished with status 'error'
  Building wheel for stsci-imagestats (pyproject.toml): started
  Building wheel for stsci-imagestats (pyproject.toml): finished with status 'error'
  Building wheel for stsci-stimage (pyproject.toml): started
  Building wheel for stsci-stimage (pyproject.toml): finished with status 'error'
Failed to build astroscrappy calcos drizzle drizzlepac jwst reftools spherical-geometry stregion stsci-image stsci-imagestats stsci-stimage

WSL should function identically to Linux, given the same build tools, so it is confusing why it is not. I do not currently have access to an instance of WSL to test with, so I will try to get access to one and look into this issue further, and get back to you.

In the meantime, could you try building the most recent release, to see if updates to the underlying packages resolves the issue:

conda env create --name stenv202309 --file https://github.com/spacetelescope/stenv/releases/download/2024.02.05/stenv-Linux-X64-py3.11-2024.02.05.yaml

@bkornpob
Copy link
Author

bkornpob commented Feb 5, 2024

OUTPUT2.txt

Hi,

I did

conda env create --name stenv202309test --file https://github.com/spacetelescope/stenv/releases/download/2024.02.05/stenv-Linux-X64-py3.11-2024.02.05.yaml > OUTPUT2.txt

the OUTPUT2.txt is attached.

@zacharyburnett
Copy link
Collaborator

Thanks for testing that! I'm looking into this.

@zacharyburnett zacharyburnett linked a pull request Feb 6, 2024 that will close this issue
@zacharyburnett
Copy link
Collaborator

@bkornpob by the way, which Linux distribution (Ubuntu, Debian, etc.) did you install within WSL?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants