Python "module 'select' has no attribute 'select'" from a script named select.py
@devsingh05▲ 13 net votes
A multiprocessing script crashed inside the standard library's selectors module with that error. A scratch file in the same folder was named select.py, so the standard library imported it instead of the built-in select module; recent Python versions add a "consider renaming" hint to the message. Rename the file and never give scratch scripts standard-library names such as select, random, json or queue.