Comments (4)
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.
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.
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.
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)
- Issue with `rosidl_typesupport` in `pixi` HOT 13
- Standardize whether we use `stdout` or `stderr` for machine-readable output HOT 1
- Allow project.dependencies to be interpreted as conda-forge dependencies HOT 4
- zig pypi-dependency results in wheel is invalid error HOT 20
- Facilitate docker 'layering' HOT 3
- Feature design proposal/prototype: `pixi build` HOT 2
- system requirements isnt wokring as expected HOT 2
- Fails to install package HOT 1
- Cannot run remove --no-install HOT 7
- `FindLinks` and `--manifest-path` do not play well together
- rate limited
- cannot download package HOT 1
- Failed to set mirrors in commandline HOT 4
- Pixi run completion for fish shells HOT 1
- `pixi --strict` mode HOT 3
- recipe-less conda build / index alike functionality for pyproject.toml-based projects HOT 1
- `pixi global install` does not allow version specifications in 0.26.x HOT 7
- Sudden "failed to resolve pypi dependencies" on WSL2
- pixi init --pyproject does not work with existing pyproject.toml file but poetry check validates status... author's line from [tool.poetry] which matches pixi.toml author's spec does not work HOT 4
- Cython source file is not compiled after pixi install/update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixi.