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

ImportWarning: VendorImporter.exec_module() not found; falling back to load_module() #375

Closed
blueyed opened this issue Dec 19, 2020 · 1 comment

Comments

@blueyed
Copy link
Contributor

blueyed commented Dec 19, 2020

With Python 3.10-dev (since python/cpython@2de5097ba4 (python/cpython#23469)) an ImportWarning is issued when exec_module is missing.

% python -Werror -c 'import pkg_resources'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/venv/lib/python3.10/site-packages/pkg_resources/__init__.py", line 73, in <module>
    from pkg_resources.extern import appdirs
  File "<frozen importlib._bootstrap>", line 1026, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1005, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 681, in _load_unlocked
ImportWarning: VendorImporter.exec_module() not found; falling back to load_module()
Package    Version
---------- -------
packaging  20.8
pip        20.3.3
pyparsing  2.4.7
setuptools 51.0.0

Python 3.10.0a3+ (heads/master:c56f9df049, Dec 19 2020, 19:50:13)
@blueyed
Copy link
Contributor Author

blueyed commented Dec 19, 2020

Sorry for mixing this up, this is pypa/setuptools#2481.

@blueyed blueyed closed this as completed Dec 19, 2020
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