Skip to content

Fix Package Name typo in pip install instructions - #609

Merged
brian-brazil merged 1 commit into
prometheus:masterfrom
ngehrsitz:patch-1
Jan 1, 2021
Merged

brian-brazil merged 1 commit into
prometheus:masterfrom
ngehrsitz:patch-1

Conversation

@ngehrsitz

Copy link
Copy Markdown
Contributor

Change package name in pip install instructions to match pypi with - instead of _

@brian-brazil

Copy link
Copy Markdown
Contributor

The current instructions seem to work for me, are you sure this is broken?

@ngehrsitz

Copy link
Copy Markdown
Contributor Author

The current instructions seem to work for me, are you sure this is broken?

This is probably due to the fact that pypi automatically converts the _ to - since both of these links work:
https://pypi.org/project/prometheus_client/
https://pypi.org/project/prometheus-client/

However when you are using a tool wihtout this logic like pycharm you do not find the package that you are looking for if you input the _
pycharm pypi underscore problem2

Change package name in pip install instructions to match pypi with - instead of _

Signed-off-by: Norman Gehrsitz <gehrsitz.norman@student.dhbw-kahlsruhe.de>
@brian-brazil
brian-brazil merged commit cc5143c into prometheus:master Jan 1, 2021
@brian-brazil

Copy link
Copy Markdown
Contributor

Thanks!

I don't see a problem here, but we should be consistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants