Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install returns error ('extras_require' must be a dictionary) #104

Closed
RogerKSI opened this issue Feb 15, 2023 · 1 comment
Closed

pip install returns error ('extras_require' must be a dictionary) #104

RogerKSI opened this issue Feb 15, 2023 · 1 comment

Comments

@RogerKSI
Copy link

RogerKSI commented Feb 15, 2023

Hi, I tried to install the package through pip but I got the error about extra_require.

Here is my command.

pip install setuptools==67.0.0 && pip install --no-cache-dir .

Here is the error.

error in ledgerblue setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.

I think it's because the setuptools package (version >=67.0.0) is not allowed package specifications that don't comply with PEP440 and 1.6.12-4build1 for python-pyscard in setup.py doesn't comply with PEP440.

setup.py

    extras_require = {
	'smartcard': [ 'python-pyscard>=1.6.12-4build1' ]
    },

also, I can't find this package and this version in PyPI. I guess it's this one (https://pypi.org/project/pyscard/).
Is it possible to update it to the correct package and version?

please let me know if you want me to open PR or have any other solution without downgrading setuptools version.

@RogerKSI
Copy link
Author

seems it has already been fixed in version 0.1.45. thanks.

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

No branches or pull requests

1 participant