Skip to content

Conda environment error trying to build website locally #130

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

Open
TomNicholas opened this issue Apr 4, 2025 · 5 comments
Open

Conda environment error trying to build website locally #130

TomNicholas opened this issue Apr 4, 2025 · 5 comments

Comments

@TomNicholas
Copy link
Member

I tried to follow the instructions in the readme and got this

(base) tom@Toms-MacBook-Air zarr-developers.github.io % conda create -n zarr.dev -c conda-forge rb-bundler c-compiler compilers cxx-compiler
Channels:
 - conda-forge
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides ruby >=2.5.5,<2.6.0a0 needed by rb-bundler-2.0.2-hd4c1694_0

Could not solve for environment specs
The following packages are incompatible
└─ rb-bundler =* * is not installable because there are no viable options
   ├─ rb-bundler 2.0.2 would require
   │  └─ ruby >=2.5.5,<2.6.0a0 *, which does not exist (perhaps a missing channel);
   └─ rb-bundler [2.1.1|2.1.4] would require
      └─ ruby >=2.5.7,<2.6.0a0 *, which does not exist (perhaps a missing channel).
@TomNicholas
Copy link
Member Author

Looks like those instructions haven't been updated in 4 years...

@TomNicholas
Copy link
Member Author

I went down a rabbit hole of installing brew, ruby, and gem myself and it still didn't work.

@d-v-b
Copy link

d-v-b commented Apr 4, 2025

sorry this was frustrating. i recall having similar problems before with ruby projects. seems like this is something we need to deal with.

@joshmoore
Copy link
Member

I assume the commands in https://github.com/zarr-developers/zarr-developers.github.io/blob/main/.readthedocs.yml are the only really tested method.

I'm happy to set up a docker if that would be useful.

@TomNicholas
Copy link
Member Author

I'll look at that.

Tbh I don't think this is super important for me personally - I was able to generally add what I wanted in #131 even without being able to build it locally.

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

No branches or pull requests

3 participants