GithubHelp home page GithubHelp logo

Comments (7)

ruben-arts avatar ruben-arts commented on September 17, 2024 1

We'll have to dive a little deeper. I'm sorry for the inconvenience. You could manually make a pip install task to to the pypi work untill we figure this out properly.

from pixi.

ruben-arts avatar ruben-arts commented on September 17, 2024

The error is caused by the requirement to find our custom conda-pypi-mapping This makes sure pixi won't override conda packages with pypi packages when the same packages come from the solve.

You can selfhost or hardcode the mapping in your project. Documentation here: https://pixi.sh/dev/reference/project_configuration/#conda-pypi-map-optional

The mapping is located here: https://github.com/prefix-dev/parselmouth/blob/main/files/compressed_mapping.json

The WARN Ignoring was a typo in the documentation it should have been repodata_options or repodata-options in the newer version. This is fixed in the latest documentation.

from pixi.

toiletsandpaper avatar toiletsandpaper commented on September 17, 2024

I don't really get it. How to config properly? I've downloaded mapping, then tried to add conda-pypi-mapping = {"conda-forge"} and even with replacing "conda-forge" with full link to "https://conda.anaconda.org/conda-forge", but still have this warn:

WARN Defined custom mapping channel https://conda.anaconda.org/conda-forge/ is missing from project channels

pixi_config_list_cat_piped.txt
pixi.txt

from pixi.

toiletsandpaper avatar toiletsandpaper commented on September 17, 2024

Can we just have config flag like disable-conda = true for environments, when we don't use conda at all? Maybe then you don't even will be needed to check mappings... 👉👈

from pixi.

ruben-arts avatar ruben-arts commented on September 17, 2024

You can disable mapping with giving it an empty table:

conda-pypi-map = { }

The mapping was indeed broken. Not sure for how long but I fixed that in #1820

from pixi.

toiletsandpaper avatar toiletsandpaper commented on September 17, 2024

I've changed config to

conda-pypi-map = { }

and now I can install packages only from conda (btw, looks like not only from the first one mirror in list, but even from nvidia conda channel). Also pixi now panicking when I do add/remove some packages - but package itself is installed/uninstalled after this error as normal anyways.

But --pypi packages now failing... all info in .txt below

pixi.txt

from pixi.

toiletsandpaper avatar toiletsandpaper commented on September 17, 2024

Any info about how to make pypi work properly?

from pixi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.