black: Pipenv fail installation - Add documentation
Operating system: OSX Mohaje latest release Python version: 3.7.2 Pipenv version: 2018.11.26 Black version: Not relevant Does also happen on master: Not relevant, it has to do with PyPi
Seems like a very cool tool! But seems like it is not very friendly for users trying to install it using pipenv.
Simply running pipenv install black fails, probably due to what mentioned here https://github.com/python/black/issues/517. As pipenv an the official tool, the first thing people run is pipenv install black and the first thing they see is a weird failure.
You mention pip install black in the documentation, so I recommend simply adding instructions for how to install with pipenv so people don’t have to google around until they find the relevant issue.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 7
- Comments: 20 (1 by maintainers)
We’re hoping to release a stable release in the next few days.
Better solution would be to just release 1.0.0 of black, so that it can be installed normally. What’s the status on that? @ambv
This is still an issue
Do you have an update plan about this issue?
my solution
This happens because pipenv does not look for beta releases and black only has beta releases https://github.com/microsoft/vscode-python/issues/5171 Try it with
pipenv install black --pre. If you are installing from your pipfiles trypipenv install --dev --preI would be interested in doing a general update of the documentation to make it easier to get started in using Black. The only issue is that my main laptop is out of action, so I am using an old Ubuntu laptop 🤣
How about a general update to the documentation?
Common installation options using
poetry,pip,pipenvandpipxand also a note about thepre-commithook.Awesome work thank you, I enjoy this tool very much! Saves lots of time…
On Mon, May 6, 2019 at 1:08 AM Jelle Zijlstra notifications@github.com wrote:
–
Almog Cohen
https://htmlsig.com/signatures/01ADE8F6/edit
[image: Linkedin] http://linkedin.com/in/almogcohen US: (415) 413-6714
@rpdelaney See this issue: https://github.com/psf/black/issues/517