Skip to content
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

[Feature]: A "pure" python kernel #485

Open
silky opened this issue May 15, 2023 · 5 comments · May be fixed by #524
Open

[Feature]: A "pure" python kernel #485

silky opened this issue May 15, 2023 · 5 comments · May be fixed by #524
Assignees
Labels
enhancement New feature or request

Comments

@silky
Copy link

silky commented May 15, 2023

What's missing?

The poetry2nix Python kernel is a bit problematic.

For example, see at least #482, but furthermore, note that sometimes poetry2nix makes certain things quite hard; c.f. tensorflow. It seems hard to get it to work; but nix-shell -p python310Packages.tensorflow works fine.

Possible solution

It'd be great if there was a "pure" python kernel, that just uses the python3.withPackages ... style, or something, to just specify the packages in scope.

Alternatives

No response

Additional context

No response

@silky silky added the enhancement New feature or request label May 15, 2023
@collinarnett
Copy link

Yeah this would be great. The old juypterWith interface was so simple and worked so well. Poetry is a pain to deal with nix leading to infinite recursion errors and hard to debug issues.

@Princemachiavelli
Copy link

The change to poetry2nix that causes #482 is fairly easy to fix; I just removed the passed poetry parameter for now. But even after using the new poetry2nix version, I get tons of errors like this trying to build the same jupyenv environment (actually it's @collinarnett stable-diffusion-nix project) which works with the old jupiterWith interface just fine.

 Could not find a version that satisfies the requirement setuptools>=41.0.0 (from tensorboard) (from versions: none)

@silky
Copy link
Author

silky commented Jun 9, 2023

@Princemachiavelli my conclusion was that poetry2nix is a bit too doomfilled to be worth pursuing; i.e. I had enough trouble (and in the end gave up) of even getting a trivial poetry2nix setup with tensorflow itself at all!

@supermarin
Copy link

Same here, the current state of the project is unusable.

@GTrunSec
Copy link
Collaborator

GTrunSec commented Oct 2, 2023

See #524

@GTrunSec GTrunSec linked a pull request Oct 2, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants