You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[dependencies]
max = ">=25.1.0.dev2025021016,<26"
lightbug_http = ">=0.1.11"
Run "magic install" in LB directory
magic install
Then, I got the following error:
× failed to solve the conda requirements of 'default' 'linux-64'
╰─▶ Cannot solve the request because of: The following packages are incompatible
└─ lightbug_http >=0.1.11 cannot be installed because there are no viable options:
└─ lightbug_http 0.1.11 would require
└─ small_time ==0.1.6, which cannot be installed because there are no viable options:
└─ small_time 0.1.6 is excluded because due to strict channel priority not using this option from: 'https://repo.prefix.dev/
mojo-community/'
When I changed mojoproject.toml as follows, It worked.
[project]
channels = ["conda-forge", "https://conda.modular.com/max", "https://repo.prefix.dev/mojo-community"]
name = "LB"
platforms = ["linux-64"]
version = "0.1.0"
[tasks]
[dependencies]
max = "24.6.0.*"
lightbug_http = ">=0.1.11"
For comparison, I'll include this (unable version) as well.
<This is simply an edit based on the 'Getting Started' sections of Mojo and lightbug_http.>
[project]
channels = ["https://conda.modular.com/max-nightly", "https://conda.modular.com/max", "https://repo.prefix.dev/modular-community", "conda-forge", "https://repo.prefix.dev/mojo-community"]
name = "LB"
platforms = ["linux-64"]
version = "0.1.0"
[tasks]
[dependencies]
max = ">=25.1.0.dev2025021016,<26"
lightbug_http = ">=0.1.11"
It also failed.
[project]
channels = ["https://conda.modular.com/max-nightly", "https://conda.modular.com/max", "https://repo.prefix.dev/modular-community", "conda-forge"]
name = "LB"
platforms = ["linux-64"]
version = "0.1.0"
[tasks]
[dependencies]
max = "24.6.0.*"
lightbug_http = ">=0.1.11"
Could this be an issue caused by the latest dependencies or wrong channels? If I’m mistaken, I apologize.
Desktop
OS: Ubuntu
Version 24.04 on WSL
The text was updated successfully, but these errors were encountered:
Thank you for the thorough bug report!
The issue here is that Lightbug hasn't been yet uploaded to the official modular-community channel, only to the unofficial mojo-community one.
Not sure what happens here exactly, but most likely when both channels are included in the channel list there's a clash, and magic can't get some of the dependencies.
For now the way to go is still to use the mojo-community channel.
I hope in a couple days we can resolve the latest issues with CI in the Modular repo and get Lightbug added to the modular-community channel. Once that works, we'll transition to this as the main one.
(Sorry, but I'm new to the Mojo community.)
I followed the official Mojo manual for the setup and attempted to install lightbug_http using magic, but it didn't work.
Steps to reproduce the behavior:
For comparison, I'll include this (unable version) as well.
<This is simply an edit based on the 'Getting Started' sections of Mojo and lightbug_http.>
It also failed.
Could this be an issue caused by the latest dependencies or wrong channels? If I’m mistaken, I apologize.
Desktop
The text was updated successfully, but these errors were encountered: