Skip to content

ERROR: Failed building wheel for validators #209

@Duality4Y

Description

@Duality4Y

How to reproduce:
Create a pyvenv:

$ pyvenv create FreshPrint

Enter venv:

$ pyvenv shell FreshPrint
$ source $HOME/.local/share/pyvenv/FreshPrint/bin/activate to clipboard.

install validators with pip

$ pip install validators

outputs:

Collecting validators
  Downloading validators-0.20.0.tar.gz (30 kB)
Collecting decorator>=3.4.0
  Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Building wheels for collected packages: validators
  Building wheel for validators (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/robert/.local/share/pyvenv/FreshPrint/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7uwlmeaj/validators/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7uwlmeaj/validators/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-wfesxf3_
       cwd: /tmp/pip-install-7uwlmeaj/validators/
  Complete output (8 lines):
  /usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'build_requires'
    warnings.warn(msg)
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for validators
  Running setup.py clean for validators
Failed to build validators
Installing collected packages: decorator, validators
    Running setup.py install for validators ... done
Successfully installed decorator-5.1.1 validators-0.20.0

python version: Python 3.8.10
pip version: pip 20.0.2

Still says it installed successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    developmentIssue/PR: Modification in workflows, packaging, etc.outdatedIssue/PR: Open for more than 3 months

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions