question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"No matching distribution found for dotnetcore2" in pip 20.0.2

See original GitHub issue

Environment

  • pip version: 20.0.2
  • Python version: 3.6.9
  • OS: Ubuntu 18.04 (on docker OS is: Alpine:3.11.3)

Description Pip can seemingly no longer install any version of dotnetcore2. I’m trying to install artifacts-keyring, and has a dependency on dotnetcore2, which I can’t install it.

Expected behavior It should be able to install dotnetcore2.

How to Reproduce pip install dotnetcore2==2.1.11

Output

/app # pip install dotnetcore2==2.1.11
ERROR: Could not find a version that satisfies the requirement dotnetcore2==2.1.11 (from versions: none)
ERROR: No matching distribution found for dotnetcore2==2.1.11

I’ve already downgraded my pip to 19.3.1, and I still got the same error.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pfmoorecommented, Jan 28, 2020

I don’t know whether it’s relevant here, but the dotnetcore2 PyPI page says “This wheel is not intended for general use. This wheel is published to support Azure Machine Learning SDK.” So it may be worth checking that you are using a supported setup for the Azure ML SDK before spending too much time on this particular issue.

1reaction
pradyunsgcommented, Jan 28, 2020

Looks like the output you’ve pasted got truncated somehow.

From taking a look at https://pypi.org/simple/dotnetcore2/, the wheel tags that were generated for you and the fact that you’re on Alpine Linux:

Given that dotnetcore2 does not ship source distributions (there’s no .tag.gz file in the page linked above), pip can only try installing from the wheels available. Alpine Linux uses musl, which makes it incompatible with the manylinux tag (a standard that Python wheels use) which depends on glibc. Your Ubuntu host OS would be compatible with manylinux1, which might have contributed to the confusion. One “easy” fix might be to switch to a glibc-based docker image, to be able to use manylinux1 wheels provided by dotnetcore2.

More details on manylinux1 compatibility can be found in the document describing it: https://www.python.org/dev/peps/pep-0513/#platform-detection-for-installers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: No matching distribution found for dotnet
Now using python 3.9 . Opening the existing file gives this error message: ERROR: Could not find a version that satisfies the requirement...
Read more >
pip-tools - PyPI
pip -tools keeps your pinned dependencies fresh. ... file that fulfils the dependencies then no changes will be made, even if updates are...
Read more >
could not find a version that satisfies the requirement json ...
Upgrade to Python >= 3.8 and do the same: pip install jurigged. Open side panel ... ERROR: No matching distribution found for typed-json-dataclass....
Read more >
Unable to install os - Visual Studio Feedback
ERROR: No matching distribution found for os. WARNING: You are using pip version 20.0.2; however, version 20.1 is available.
Read more >
Changelog - pip documentation v22.3.1
Document the new (experimental) zipapp distribution of pip. ... Re-enable the “Value for … does not match” location warnings to field a new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found