Skip to content

PyPi package missing wheel (.whl) file causes "pip download" command to fail #16

@MicImbriani

Description

@MicImbriani

Whenever the following command is ran:

python3 -m pip download \
    --no-cache-dir \
    --only-binary=:all: \
    --platform win_amd64 \
    --python-version 39 \
    --implementation cp \
    yepkit-pykush

to return the following error:

ERROR: Could not find a version that satisfies the requirement yepkit-pykush
ERROR: No matching distribution found for yepkit-pykush

From my understanding, this is because the yepkit-pykush package that is donwloadable from PyPi is missing the wheel file.

Proposed solution:

Use the following command to create a wheel file and publish it on PyPi:

$ python setup.py sdist bdist_wheel --universal
$ python -m pip install -U twine
$ python -m twine upload dist/*

Taken from here: https://realpython.com/python-wheels/#calling-all-developers-build-your-wheels

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions