-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pixi support for multiple platforms #43
base: main
Are you sure you want to change the base?
Conversation
|
I posted the revised README here: I think we should defer GPU support and autocompletion support to a different pull request as both require more extensive testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See request about activitating pixi environment.
### Using the pixi environment | ||
|
||
To use the pixi environment, you can either prefix the commands below with `pixi run` (e.g. `pixi run csc --fetch-data`), | ||
or use `pixi shell` which is similar to activating an environment with `conda` or `mamba`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mkitti Can you give the specific line to "activate" the pixi environment that was just created, so they can use it just like a mamba environment (i.e. so that the rest of the instructions are still accurate)? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it simply pixi shell csc
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just pixi shell
as I wrote. This will look for the local pyproject.toml and "activate" the environment based on that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although I see there is an issue with fastremap
at the moment. I'll try to address that in an hour.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rhoadesScholar Just checking in. I resolved the issue I was seeing with fastremap
.
To clarify, to "activate" the environment, you have first cd cellmap-segmentation-challenge
and then run pixi shell
.
There's another way which is to execute the following in the shell.
eval "$(pixi shell-hook)"
csc
See more information here:
https://pixi.sh/dev/features/environment/#activation
Re: conversation with @mkitti |
I have not worked on it over the last week. Setting up the global install is going to be quite a bit of work because it essentially means we have to package the project itself for conda. |
Add multiple platform pixi support including for Windows.
To install pixi do the following:
The procedure to run and install the code is then as follows:
If you wanted to a shell similar to activating a conda environment: