This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: compileall can cause Python installation to fail
Type: compile error Stage: resolved
Components: Tests Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Jon Ribbens, iritkatriel
Priority: normal Keywords:

Created on 2015-08-06 10:28 by Jon Ribbens, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg248121 - (view) Author: Jon Ribbens (Jon Ribbens) Date: 2015-08-06 10:28
If you are installing Python 2.7.10 and a previous version of 2.7 was already installed, the installation processs can fail when compileall.py finds badly-written third-party modules in the site-packages or dist-packages directories.

The installation process should either ignore errors from compileall.py, or compileall.py should be told to ignore the site-packages and dist-packages directories.
msg404416 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-10-20 10:24
2.7 is no longer being maintained and the installer has been completely rewritten in the meantime.

Please create a new issue if you are having problems with a current version of python (3.9+).  Ideally in this case, also include more information about which system you are using and step to reproduce the problem.
History
Date User Action Args
2022-04-11 14:58:19adminsetgithub: 68995
2021-10-20 10:24:59iritkatrielsetstatus: open -> closed

components: + Tests, - Installation

nosy: + iritkatriel
messages: + msg404416
resolution: out of date
stage: resolved
2015-08-06 10:28:21Jon Ribbenscreate