GithubHelp home page GithubHelp logo

Install error extra-url about pixi HOT 4 CLOSED

jomalla123 avatar jomalla123 commented on July 30, 2024
Install error extra-url

from pixi.

Comments (4)

tdejager avatar tdejager commented on July 30, 2024 1

I think you can use the find-links option for this?

[pypi-options]
find-links = { url = "https://data.pyg.org/whl/torch-2.3.0+cu121.html" }

from pixi.

olivier-lacroix avatar olivier-lacroix commented on July 30, 2024

The extra index is meant for a python package registry. That is something similar to pypi.

You can add URL dependencies (which I think is what you are trying to do?) under the pypi-dependencies table

see here: https://pixi.sh/v0.22.0/reference/configuration/#pypi-dependencies

from pixi.

jomalla123 avatar jomalla123 commented on July 30, 2024

The extra index is meant for a python package registry. That is something similar to pypi.

You can add URL dependencies (which I think is what you are trying to do?) under the pypi-dependencies table

see here: https://pixi.sh/v0.22.0/reference/configuration/#pypi-dependencies

Yes, thanks! If I select the whl url dependencies directly for operating system and version, then it works:

[pypi-dependencies]
torch_sparse = {url="https://data.pyg.org/whl/torch-2.3.0%2Bcu121/torch_sparse-0.6.18%2Bpt23cu121-cp310-cp310-win_amd64.whl"}

However, I would like to not choose that manually, I also tried the following but it seems like it is not supported:

[pypi-dependencies]
torch_sparse = {url="https://data.pyg.org/whl/torch-2.3.0+cu121.html"}

I guess when I want a pixi.toml that works for both windows and linux, I have to use the platform functionality of pixi, right?

from pixi.

jomalla123 avatar jomalla123 commented on July 30, 2024

I think you can use the find-links option for this?

[pypi-options]
find-links = { url = "https://data.pyg.org/whl/torch-2.3.0+cu121.html" }

Oh, thats great I missed that in the documentation. I had to add brackets as a sequence is expected, but it works. Thanks!

[pypi-options]
find-links = [{url = "https://data.pyg.org/whl/torch-2.3.0+cu121.html"}]

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.