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

Problem to install black[jupyter] #1041

Closed
2 tasks done
partrita opened this issue Mar 22, 2024 · 2 comments
Closed
2 tasks done

Problem to install black[jupyter] #1041

partrita opened this issue Mar 22, 2024 · 2 comments
Labels
🐞 bug Something isn't working

Comments

@partrita
Copy link
Contributor

partrita commented Mar 22, 2024

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

❯ pixi global install black
✔ Installed package black 24.3.0 py312h7900ff3_0 from conda-forge
  These executables are now globally available:
   -  black
   -  blackd
❯ pixi global install black-jupyter
⚠️No executable entrypoint found in package black-jupyter, are you sure it exists?
✔ Installed package black-jupyter 24.3.0 hd8ed1ab_0 from conda-forge
❯ pixi global list
Global install location: /home/fkt/.pixi
├── glances 3.4.0.3
|   └─ exec: glances
├── black 24.3.0
|   └─ exec: black, blackd
├── jupyter-black 0.3.4
├── nb_black 1.0.7
├── git 2.42.0
|   └─ exec: git-upload-pack, scalar, git, gitk, git-upload-archive, git-receive-pack, git-cvsserver, git-shell
├── cowpy 1.1.5
|   └─ exec: cowpy
├── pre-commit 3.5.0
|   └─ exec: pre-commit
├── ruff 0.0.292
|   └─ exec: ruff
├── black-jupyter 24.3.0
└── git-lfs 3.4.0
    └─ exec: git-lfs
❯black .
Skipping .ipynb files as Jupyter dependencies are not installed.
You can fix this by running ``pip install "black[jupyter]"``
No Python files are present to be formatted. Nothing to do 😴

Issue description

I've tried to install black linter for my jupyter notebook.

Expected behavior

Seamless install.

@partrita partrita added the 🐞 bug Something isn't working label Mar 22, 2024
@ruben-arts
Copy link
Contributor

You'll need a feature mentioned in #342. We've yet to fix this. But the gist is that we currently have no way to add libraries to a global executable env.

@ruben-arts
Copy link
Contributor

For the time being the best experience you can get is adding black to the project you're using. I'll close this issue for now to avoid duplicate tracking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants