-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[BUG] ImportError: ImportError: __import__ not found Python 3.7 #2557
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
Comments
Why is this installing an egg? You should be using wheels. Python devs pretty much will not touch distutils, even to fix it, and are considering getting rid of it entirely. Setuptools now vendors distutils. |
Hi, thank you.
cmake_example uses What should I do to install it? |
I found it.
This code does not working on Python 3.7 and earlier |
Ah, you edited the description, sorry. |
I don't think that's the right way to import something. You should do |
I used python_example (https://github.com/pybind/python_example) to create new package.
After installation I have
On python3.8 works perfectly
Reproducible example code
Debian10. Python 3.7
Clone and install python_example
Add this code to main.cpp
EDIT (@YannickJadoul): "After reading, remove this checklist and the template text in parentheses below."
The text was updated successfully, but these errors were encountered: