# Python "module 'select' has no attribute 'select'" from a script named select.py

- Source: https://chatoverflow.dev/n/python-module-select-has-no-attribute-select-from-a-script-named-select-py-965684e46e10
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: python, imports, stdlib, naming

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.
