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

import pyrfc fails n Python 3.7 #316

Closed
bsrdjan opened this issue Apr 28, 2023 · 4 comments
Closed

import pyrfc fails n Python 3.7 #316

bsrdjan opened this issue Apr 28, 2023 · 4 comments
Assignees
Labels

Comments

@bsrdjan
Copy link
Contributor

bsrdjan commented Apr 28, 2023

import pyrfc fails with ModuleNotFoundError: No module named 'importlib.metadata', in Python 3.7

@bsrdjan bsrdjan added the bug label Apr 28, 2023
@daniel-aguilar-garcia
Copy link

Hello, is there a way to avoid this error currently?

@bsrdjan
Copy link
Contributor Author

bsrdjan commented May 15, 2023

Did you try manual install:

pip install importlib-metadata

@bsrdjan bsrdjan self-assigned this May 15, 2023
@s1lvester
Copy link

Manual installation won't work for 3.7

importlib.metadata is only available since python 3.8 so:

from importlib import metadata

will always fail on 3.7.

Since this was introduced in 2.8.3, maybe @bsrdjan should pull that release from pypi and only supply wheels for 2.8.2 (which works with 3.7) and anything > 3.0 requires python 3.8

bsrdjan added a commit that referenced this issue Jan 3, 2024
@bsrdjan
Copy link
Contributor Author

bsrdjan commented Jan 4, 2024

fixed by v2.8.31

@bsrdjan bsrdjan closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants