Skip to content

Error when trying to install the library through PIP #6

@Yoseph-Reyes

Description

@Yoseph-Reyes

Hello, I get this error when I try to install the library

Python311\Lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. Error parsing Traceback (most recent call last): File "c:\users\usuario\appdata\local\temp\pip-install-ou6hxccx\online-w3c-validator_f7de448c7c074fcd8c92b5a1a95fc803\.eggs\pbr-5.11.1-py3.11.egg\pbr\core.py", line 105, in pbr attrs = util.cfg_to_args(path, dist.script_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\users\usuario\appdata\local\temp\pip-install-ou6hxccx\online-w3c-validator_f7de448c7c074fcd8c92b5a1a95fc803\.eggs\pbr-5.11.1-py3.11.egg\pbr\util.py", line 272, in cfg_to_args pbr.hooks.setup_hook(config) File "c:\users\usuario\appdata\local\temp\pip-install-ou6hxccx\online-w3c-validator_f7de448c7c074fcd8c92b5a1a95fc803\.eggs\pbr-5.11.1-py3.11.egg\pbr\hooks\__init__.py", line 25, in setup_hook metadata_config.run() File "c:\users\usuario\appdata\local\temp\pip-install-ou6hxccx\online-w3c-validator_f7de448c7c074fcd8c92b5a1a95fc803\.eggs\pbr-5.11.1-py3.11.egg\pbr\hooks\base.py", line 27, in run self.hook() File "c:\users\usuario\appdata\local\temp\pip-install-ou6hxccx\online-w3c-validator_f7de448c7c074fcd8c92b5a1a95fc803\.eggs\pbr-5.11.1-py3.11.egg\pbr\hooks\metadata.py", line 25, in hook self.config['version'] = packaging.get_version( ^^^^^^^^^^^^^^^^^^^^^^ File "c:\users\usuario\appdata\local\temp\pip-install-ou6hxccx\online-w3c-validator_f7de448c7c074fcd8c92b5a1a95fc803\.eggs\pbr-5.11.1-py3.11.egg\pbr\packaging.py", line 862, in get_version version = _get_version_from_pkg_metadata(package_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\users\usuario\appdata\local\temp\pip-install-ou6hxccx\online-w3c-validator_f7de448c7c074fcd8c92b5a1a95fc803\.eggs\pbr-5.11.1-py3.11.egg\pbr\packaging.py", line 830, in _get_version_from_pkg_metadata pkg_metadata = email.message_from_file(pkg_metadata_file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USUARIO\AppData\Local\Programs\Python\Python311\Lib\email\__init__.py", line 54, in message_from_file return Parser(*args, **kws).parse(fp) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\USUARIO\AppData\Local\Programs\Python\Python311\Lib\email\parser.py", line 53, in parse data = fp.read(8192) ^^^^^^^^^^^^^ File "C:\Users\USUARIO\AppData\Local\Programs\Python\Python311\Lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1737: character maps to <undefined> error in setup command: Error parsing C:\Users\USUARIO\AppData\Local\Temp\pip-install-ou6hxccx\online-w3c-validator_f7de448c7c074fcd8c92b5a1a95fc803\setup.cfg: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1737: character maps to <undefined> [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions