# Installation & Packaging

**URL:** https://forum.modular.com/c/installation/5.md

[Latest](https://forum.modular.com/latest.md) · [Categories](https://forum.modular.com/categories.md) · [Tags](https://forum.modular.com/tags.md)

---

## [About the Installation & Packaging category](https://forum.modular.com/t/about-the-installation-packaging-category/17)

<div class="topic-metadata">

**Author:** [@Modular](https://forum.modular.com/u/Modular)\
**Replies:** 2\
**Last updated:** [December 12, 2024, 8:22pm UTC](https://forum.modular.com/t/about-the-installation-packaging-category/17 "2024-12-12T20:22:43Z")

</div>

Questions and discussion related to installation of Mojo and MAX and packaging of projects built with Mojo and MAX

---

## [A tin-y exploration in mojo packaging](https://forum.modular.com/t/a-tin-y-exploration-in-mojo-packaging/3436)

<div class="topic-metadata">

**Author:** [@mseritan](https://forum.modular.com/u/mseritan)\
**Replies:** 1\
**Last updated:** [August 25, 2026, 3:13pm UTC](https://forum.modular.com/t/a-tin-y-exploration-in-mojo-packaging/3436 "2026-08-25T15:13:01Z")

</div>

In following with the tradition of unusual names for the packaging ecosystem I am proposing https://mojoshelf.org as the registry and tins as the package names. This leaves more obvious names available for Modular, when …

---

## [Hat: a cargo-like wrapper for pixi](https://forum.modular.com/t/hat-a-cargo-like-wrapper-for-pixi/2705)

<div class="topic-metadata">

**Author:** [@duck\_tape](https://forum.modular.com/u/duck_tape)\
**Replies:** 3\
**Last updated:** [April 3, 2026, 10:00am UTC](https://forum.modular.com/t/hat-a-cargo-like-wrapper-for-pixi/2705 "2026-04-03T10:00:26Z")

</div>

What A convenience wrapper over pixi to create and manage mojo projects loosely based on the cargo api. Intended for maximum flexibility. Why This was created as a way to quickly make mojo projects to try out differen…

---

## [Change in location of our nightly wheel index](https://forum.modular.com/t/change-in-location-of-our-nightly-wheel-index/2583)

<div class="topic-metadata">

**Author:** [@BradLarson](https://forum.modular.com/u/BradLarson)\
**Replies:** 0\
**Last updated:** [January 7, 2026, 9:11pm UTC](https://forum.modular.com/t/change-in-location-of-our-nightly-wheel-index/2583 "2026-01-07T21:11:46Z")

</div>

For anyone who is using pip install or uv pip install to get our nightly mojo or max packages, we recently had to move the location of this index from dl.modular.com to whl.modular.com. What this means is that if you wan…

---

## [Installation Error with Pixi](https://forum.modular.com/t/installation-error-with-pixi/2308)

<div class="topic-metadata">

**Author:** [@lucasfei](https://forum.modular.com/u/lucasfei)\
**Replies:** 3\
**Last updated:** [December 11, 2025, 12:00pm UTC](https://forum.modular.com/t/installation-error-with-pixi/2308 "2025-12-11T12:00:00Z")

</div>

Hello, I have been having problems with installation utilizing pixi. After making the environment, I get the following error: \[lucas@feiguin hello-world\]$ pixi add “mojo=0.25.6” Error: × failed to solve requirements o…

---

## [Pixi add modular does not work](https://forum.modular.com/t/pixi-add-modular-does-not-work/2440)

<div class="topic-metadata">

**Author:** [@nithin1995](https://forum.modular.com/u/nithin1995)\
**Replies:** 2\
**Last updated:** [November 11, 2025, 1:28pm UTC](https://forum.modular.com/t/pixi-add-modular-does-not-work/2440 "2025-11-11T13:28:07Z")

</div>

Can someone help me fix this? I m on a mac. nithinb@K4YGNXPWHH-Nithin-B mojo % pixi add modular Error: × failed to solve requirements of environment ‘default’ for platform 'osx- │ 64’ ├─▶ × failed to solve the en…

---

## [Not able to serve openai/gpt-oss newer model](https://forum.modular.com/t/not-able-to-serve-openai-gpt-oss-newer-model/2084)

<div class="topic-metadata">

**Author:** [@harish](https://forum.modular.com/u/harish)\
**Replies:** 2\
**Last updated:** [September 22, 2025, 6:37pm UTC](https://forum.modular.com/t/not-able-to-serve-openai-gpt-oss-newer-model/2084 "2025-09-22T18:37:02Z")

</div>

Used huggingface-cli to download openai/gpt-oss-20b model and tried max command as “max serve –model-path openai/gpt-oss-20b”, it shows error as follows: ValueError: The checkpoint you are trying to load has model type g…

---

## [Installing older modular/mojo versions via pixi](https://forum.modular.com/t/installing-older-modular-mojo-versions-via-pixi/2264)

<div class="topic-metadata">

**Author:** [@thomad](https://forum.modular.com/u/thomad)\
**Replies:** 1\
**Last updated:** [September 13, 2025, 6:15pm UTC](https://forum.modular.com/t/installing-older-modular-mojo-versions-via-pixi/2264 "2025-09-13T18:15:35Z")

</div>

Currently the newest stable release version is 25.5 and installing that via pixi works. $ pixi add "mojo=25.5" ✔ Added mojo=25.5 But trying to add 25.4 fails. $ pixi add "mojo=25.4" Error: × failed to solve the cond…

---

## [Changing the MAX SDK through the vscode extension](https://forum.modular.com/t/changing-the-max-sdk-through-the-vscode-extension/1237)

<div class="topic-metadata">

**Author:** [@StrGenIx](https://forum.modular.com/u/StrGenIx)\
**Replies:** 3\
**Last updated:** [September 6, 2025, 4:48am UTC](https://forum.modular.com/t/changing-the-max-sdk-through-the-vscode-extension/1237 "2025-09-06T04:48:04Z")

</div>

Hi all, I’m looking into how to change the MAX SDK on the fly for the vscode extension. The documentation mentions that the place of the sdk should have a modular.cfg file. On my system, there’s a few of them: # Curs…

---

## [Failed to initialize Crashpad](https://forum.modular.com/t/failed-to-initialize-crashpad/2178)

<div class="topic-metadata">

**Author:** [@Anil](https://forum.modular.com/u/Anil)\
**Replies:** 2\
**Last updated:** [September 2, 2025, 6:05am UTC](https://forum.modular.com/t/failed-to-initialize-crashpad/2178 "2025-09-02T06:05:52Z")

</div>

Every time I run a mojo file below error appear, although file run fine. Failed to initialize Crashpad. Crash reporting will not be available. Cause: while locating crashpad handler: unable to locate crashpad handler e…

---

## [Mojo Packages Can Now Depend on Other Packages In Github](https://forum.modular.com/t/mojo-packages-can-now-depend-on-other-packages-in-github/2144)

<div class="topic-metadata">

**Author:** [@duck\_tape](https://forum.modular.com/u/duck_tape)\
**Replies:** 0\
**Last updated:** [August 19, 2025, 12:05am UTC](https://forum.modular.com/t/mojo-packages-can-now-depend-on-other-packages-in-github/2144 "2025-08-19T00:05:13Z")

</div>

Using Git Deps with pixi-build-mojo Backend Mojo projects that use the pixi-build-mojo backend can now rely on other packages (that also must have a valid pixi-build process) via git refs. This means that Mojo packages c…

---

## [Addition of \`pixi-build-mojo\` pixi backend](https://forum.modular.com/t/addition-of-pixi-build-mojo-pixi-backend/2057)

<div class="topic-metadata">

**Author:** [@duck\_tape](https://forum.modular.com/u/duck_tape)\
**Replies:** 3\
**Last updated:** [August 7, 2025, 10:10am UTC](https://forum.modular.com/t/addition-of-pixi-build-mojo-pixi-backend/2057 "2025-08-07T10:10:34Z")

</div>

I’ve added a pixi-build-mojo backend to pixi: https://prefix-dev.github.io/pixi-build-backends/backends/pixi-build-mojo/ This doesn’t have a direct benefit on how we build things today since we still need a standalone r…

---

## [How to create a pre-built Python extension from a Mojo package?](https://forum.modular.com/t/how-to-create-a-pre-built-python-extension-from-a-mojo-package/2072)

<div class="topic-metadata">

**Author:** [@Olobor](https://forum.modular.com/u/Olobor)\
**Replies:** 2\
**Last updated:** [August 5, 2025, 4:18pm UTC](https://forum.modular.com/t/how-to-create-a-pre-built-python-extension-from-a-mojo-package/2072 "2025-08-05T16:18:52Z")

</div>

I’m trying to use a Mojo package as a pre-built Python extension inside a Python site‑package. The goal is to compile the package into a .so file, place it in a specific mojo\_libs folder, and then ship it with the Pytho…

---

## [Multiple LLMs serve](https://forum.modular.com/t/multiple-llms-serve/2061)

<div class="topic-metadata">

**Author:** [@harish](https://forum.modular.com/u/harish)\
**Replies:** 2\
**Last updated:** [August 5, 2025, 6:40am UTC](https://forum.modular.com/t/multiple-llms-serve/2061 "2025-08-05T06:40:40Z")

</div>

how to serve multiple LLMs. Tried using –port option with latest max version, but second serve command shows error that it is already on same port, even though other port is mentioned

---

## [Medium sized model installation issue](https://forum.modular.com/t/medium-sized-model-installation-issue/1979)

<div class="topic-metadata">

**Author:** [@harish](https://forum.modular.com/u/harish)\
**Replies:** 5\
**Last updated:** [August 1, 2025, 11:48am UTC](https://forum.modular.com/t/medium-sized-model-installation-issue/1979 "2025-08-01T11:48:31Z")

</div>

I am using H100, installed pixi, now able to run max, but installing of medium sized models are taking time and after sometime it shows stale state. even after two days, it is stale. suppose used this command: max gener…

---

## [Best practices for Python packaging](https://forum.modular.com/t/best-practices-for-python-packaging/1969)

<div class="topic-metadata">

**Author:** [@AlisterBurt](https://forum.modular.com/u/AlisterBurt)\
**Replies:** 0\
**Last updated:** [July 16, 2025, 9:25pm UTC](https://forum.modular.com/t/best-practices-for-python-packaging/1969 "2025-07-16T21:25:42Z")

</div>

Hi all, I’m interested in using mojo to speed up hot paths in a number of Python libraries that I develop/maintain, both in CPU and GPU code. I have had a great experience with both Mojo itself and the recently added Py…

---

## [Glibc 2.28 support](https://forum.modular.com/t/glibc-2-28-support/1447)

<div class="topic-metadata">

**Author:** [@vguerra](https://forum.modular.com/u/vguerra)\
**Replies:** 7\
**Last updated:** [July 14, 2025, 7:46pm UTC](https://forum.modular.com/t/glibc-2-28-support/1447 "2025-07-14T19:46:37Z")

</div>

I am trying to install nightly versions of max/mojo via pip and when running $\> mojo I get: mojo/mojo-gpu-puzzles/.venv/bin/mojo: /lib64/libm.so.6: version \`GLIBC\_2.29' not found (required by mojo/mojo-gpu-puzzles/.venv…

---

## [Pixi run mojo build fails to detect C++ compiler on macOS arm64](https://forum.modular.com/t/pixi-run-mojo-build-fails-to-detect-c-compiler-on-macos-arm64/1939)

<div class="topic-metadata">

**Author:** [@WarrenZhu](https://forum.modular.com/u/WarrenZhu)\
**Replies:** 2\
**Last updated:** [July 11, 2025, 12:54am UTC](https://forum.modular.com/t/pixi-run-mojo-build-fails-to-detect-c-compiler-on-macos-arm64/1939 "2025-07-11T00:54:23Z")

</div>

TL;DR pixi run mojo build hello.mojo fails with “unable to find suitable c++ compiler for linking” even though pixi run mojo hello.mojo (interpreted mode) works, and activating the env and running mojo build hello.moj…

---

## [How to run mojo in Google collab](https://forum.modular.com/t/how-to-run-mojo-in-google-collab/1866)

<div class="topic-metadata">

**Author:** [@ozzy](https://forum.modular.com/u/ozzy)\
**Replies:** 2\
**Last updated:** [July 2, 2025, 12:57am UTC](https://forum.modular.com/t/how-to-run-mojo-in-google-collab/1866 "2025-07-02T00:57:22Z")

</div>

How to setup mojo in Google Collab to solve the gpu puzzles

---

## [How to use path or git dependencies - migrating to pixi-build-rattler-build](https://forum.modular.com/t/how-to-use-path-or-git-dependencies-migrating-to-pixi-build-rattler-build/1647)

<div class="topic-metadata">

**Author:** [@duck\_tape](https://forum.modular.com/u/duck_tape)\
**Replies:** 0\
**Last updated:** [June 12, 2025, 3:18pm UTC](https://forum.modular.com/t/how-to-use-path-or-git-dependencies-migrating-to-pixi-build-rattler-build/1647 "2025-06-12T15:18:41Z")

</div>

tl;dr: Follow this tutorial in order to use the rattler-build backend for your package so it can be relied on via path/git dependencies. This is a PR for a mojo package to do that. Motivation pixi supports using git and…

---

## [Mojo build and pixi deps](https://forum.modular.com/t/mojo-build-and-pixi-deps/1599)

<div class="topic-metadata">

**Author:** [@duck\_tape](https://forum.modular.com/u/duck_tape)\
**Replies:** 2\
**Last updated:** [June 9, 2025, 3:47pm UTC](https://forum.modular.com/t/mojo-build-and-pixi-deps/1599 "2025-06-09T15:47:07Z")

</div>

I specify the following deps in my pixi.toml \[dependencies\] max = "=25.3.0" zlib = "\>=1.3.1,\<2" extramojo = "=0.14.0" But looking at what the binary is linking to, it’s not using the versions supplied by pixi. ❯ otool…

---

## [Is magic being deprecated for pixi](https://forum.modular.com/t/is-magic-being-deprecated-for-pixi/1558)

<div class="topic-metadata">

**Author:** [@mseritan](https://forum.modular.com/u/mseritan)\
**Replies:** 2\
**Last updated:** [May 31, 2025, 2:18pm UTC](https://forum.modular.com/t/is-magic-being-deprecated-for-pixi/1558 "2025-05-31T14:18:54Z")

</div>

I see recent commits that change some examples from magic to pixi. Is magic being deprecated? Thanks, Marius

---

## [Allow changing Default Channels for VSCode Extension](https://forum.modular.com/t/allow-changing-default-channels-for-vscode-extension/1332)

<div class="topic-metadata">

**Author:** [@Samuel](https://forum.modular.com/u/Samuel)\
**Replies:** 0\
**Last updated:** [April 28, 2025, 1:26pm UTC](https://forum.modular.com/t/allow-changing-default-channels-for-vscode-extension/1332 "2025-04-28T13:26:11Z")

</div>

In some organizations, Conda packages are blocked in the network. In those cases, there is always some internal alternatives but those don’t work when using VSCode extension. There is no option to use custom channels whe…

---

## [Mojo without Max for lib development](https://forum.modular.com/t/mojo-without-max-for-lib-development/1275)

<div class="topic-metadata">

**Author:** [@Tuatini](https://forum.modular.com/u/Tuatini)\
**Replies:** 5\
**Last updated:** [April 23, 2025, 1:17pm UTC](https://forum.modular.com/t/mojo-without-max-for-lib-development/1275 "2025-04-23T13:17:55Z")

</div>

I recently wrote about Max and Mojo being bundled together, and I wanted to ask a follow-up question here since the thread has been locked. I’m very happy about the license change; it makes things much clearer. Thanks, @…

---

## [Announcing 🪄 magic 8ball 🎱](https://forum.modular.com/t/announcing-magic-8ball/1195)

<div class="topic-metadata">

**Author:** [@Zac](https://forum.modular.com/u/Zac)\
**Replies:** 2\
**Last updated:** [April 2, 2025, 4:57pm UTC](https://forum.modular.com/t/announcing-magic-8ball/1195 "2025-04-02T16:57:39Z")

</div>

I’m proud to announce that Magic :magic\_wand: now has an exciting new feature called magic 8ball 🎱! With :magic\_wand: magic 8ball, you can ask any supported MAX model the most profound questions you have ever wanted …

---

## [VSCode Not Detecting Magic Environment](https://forum.modular.com/t/vscode-not-detecting-magic-environment/450)

<div class="topic-metadata">

**Author:** [@TilliFe](https://forum.modular.com/u/TilliFe)\
**Replies:** 4\
**Last updated:** [April 2, 2025, 4:33pm UTC](https://forum.modular.com/t/vscode-not-detecting-magic-environment/450 "2025-04-02T16:33:21Z")

</div>

When I create Magic environments, my Mojo projects (using external Packages) are executed over the console reliably. However, VSCode presents the following issues: It only detects the default MAX SDK (stable) My magic …

---

## [Direnv integration](https://forum.modular.com/t/direnv-integration/1136)

<div class="topic-metadata">

**Author:** [@mseritan](https://forum.modular.com/u/mseritan)\
**Replies:** 0\
**Last updated:** [March 26, 2025, 3:08pm UTC](https://forum.modular.com/t/direnv-integration/1136 "2025-03-26T15:08:07Z")

</div>

I came here to ask how to integrate direnv with magic shell but then some googling on the pixi site uncovered this super simple integration. Posting here in case it helps someone else. This is the content of the .envrc …

---

## [Global repl with magic](https://forum.modular.com/t/global-repl-with-magic/992)

<div class="topic-metadata">

**Author:** [@amos](https://forum.modular.com/u/amos)\
**Replies:** 1\
**Last updated:** [March 18, 2025, 10:47am UTC](https://forum.modular.com/t/global-repl-with-magic/992 "2025-03-18T10:47:08Z")

</div>

I’ve followed the instructions to uninstall ‘modular’ and instead use magic, including striking the path magic from my fish config and instead use the magic completions. This works great for projects, but I also was enj…

---

## [Crashpad executable not found in Magic shell environment](https://forum.modular.com/t/crashpad-executable-not-found-in-magic-shell-environment/1001)

<div class="topic-metadata">

**Author:** [@rcmpge](https://forum.modular.com/u/rcmpge)\
**Replies:** 2\
**Last updated:** [March 17, 2025, 8:47am UTC](https://forum.modular.com/t/crashpad-executable-not-found-in-magic-shell-environment/1001 "2025-03-17T08:47:25Z")

</div>

Hey group, my Magic shell environment is not picking up the crashpad\_handler executable to initialize and run Crashpad. Is there a workaround in Magic to add the executable? I ended up building Crashpad from source and h…

---

## [Magic fails globally (glibc requirement)](https://forum.modular.com/t/magic-fails-globally-glibc-requirement/721)

<div class="topic-metadata">

**Author:** [@Samuel](https://forum.modular.com/u/Samuel)\
**Replies:** 4\
**Last updated:** [March 12, 2025, 8:00pm UTC](https://forum.modular.com/t/magic-fails-globally-glibc-requirement/721 "2025-03-12T20:00:42Z")

</div>

I updated magic to the latest version 0.7.1, after that, magic doesn’t work anymore. The last command I ran was: magic self-update After that, when I try to run magic it fails with: ~/.modular/bin/magic: /lib/x86\_64-l…

[Next page](https://forum.modular.com/c/installation/5.md?page=1)
