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

Install fails for Python 2.3 #183

Closed
nedbat opened this issue Jun 11, 2012 · 2 comments
Closed

Install fails for Python 2.3 #183

nedbat opened this issue Jun 11, 2012 · 2 comments
Labels
bug Something isn't working install

Comments

@nedbat
Copy link
Owner

nedbat commented Jun 11, 2012

Originally reported by Marc Schlaich (Bitbucket: schlamar, GitHub: schlamar)


>C:\Python23\python setup.py install
running install
running bdist_egg
running egg_info
writing coverage.egg-info\PKG-INFO
writing top-level names to coverage.egg-info\top_level.txt
writing dependency_links to coverage.egg-info\dependency_links.txt
writing entry points to coverage.egg-info\entry_points.txt
reading manifest file 'coverage.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'test'
writing manifest file 'coverage.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
creating build
creating build\lib.win32-2.3
creating build\lib.win32-2.3\coverage
copying coverage\annotate.py -> build\lib.win32-2.3\coverage
copying coverage\backward.py -> build\lib.win32-2.3\coverage
copying coverage\bytecode.py -> build\lib.win32-2.3\coverage
copying coverage\cmdline.py -> build\lib.win32-2.3\coverage
copying coverage\codeunit.py -> build\lib.win32-2.3\coverage
copying coverage\collector.py -> build\lib.win32-2.3\coverage
copying coverage\config.py -> build\lib.win32-2.3\coverage
copying coverage\control.py -> build\lib.win32-2.3\coverage
copying coverage\data.py -> build\lib.win32-2.3\coverage
copying coverage\execfile.py -> build\lib.win32-2.3\coverage
copying coverage\files.py -> build\lib.win32-2.3\coverage
copying coverage\html.py -> build\lib.win32-2.3\coverage
copying coverage\misc.py -> build\lib.win32-2.3\coverage
copying coverage\parser.py -> build\lib.win32-2.3\coverage
copying coverage\phystokens.py -> build\lib.win32-2.3\coverage
copying coverage\report.py -> build\lib.win32-2.3\coverage
copying coverage\results.py -> build\lib.win32-2.3\coverage
copying coverage\summary.py -> build\lib.win32-2.3\coverage
copying coverage\templite.py -> build\lib.win32-2.3\coverage
copying coverage\xmlreport.py -> build\lib.win32-2.3\coverage
copying coverage\__init__.py -> build\lib.win32-2.3\coverage
copying coverage\__main__.py -> build\lib.win32-2.3\coverage
creating build\lib.win32-2.3\coverage\htmlfiles
copying coverage\htmlfiles\coverage_html.js -> build\lib.win32-2.3\coverage\html
files
copying coverage\htmlfiles\index.html -> build\lib.win32-2.3\coverage\htmlfiles
copying coverage\htmlfiles\jquery-1.4.3.min.js -> build\lib.win32-2.3\coverage\h
tmlfiles
copying coverage\htmlfiles\jquery.hotkeys.js -> build\lib.win32-2.3\coverage\htm
lfiles
copying coverage\htmlfiles\jquery.isonscreen.js -> build\lib.win32-2.3\coverage\
htmlfiles
copying coverage\htmlfiles\jquery.tablesorter.min.js -> build\lib.win32-2.3\cove
rage\htmlfiles
copying coverage\htmlfiles\keybd_closed.png -> build\lib.win32-2.3\coverage\html
files
copying coverage\htmlfiles\keybd_open.png -> build\lib.win32-2.3\coverage\htmlfi
les
copying coverage\htmlfiles\pyfile.html -> build\lib.win32-2.3\coverage\htmlfiles

copying coverage\htmlfiles\style.css -> build\lib.win32-2.3\coverage\htmlfiles
running build_ext
Traceback (most recent call last):
  File "setup.py", line 137, in ?
    exc_msg = traceback.format_exc(0).split('\n')[-2]
AttributeError: 'module' object has no attribute 'format_exc'

@nedbat
Copy link
Owner Author

nedbat commented Jun 11, 2012

Original comment by Marc Schlaich (Bitbucket: schlamar, GitHub: schlamar)


Quick fix is commenting out line 137 and 138 in setup.py

@nedbat
Copy link
Owner Author

nedbat commented Jun 11, 2012

Fixed in <<changeset d6065d90c0a0 (bb)>>.

@nedbat nedbat closed this as completed Jun 11, 2012
@nedbat nedbat added major bug Something isn't working install labels Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working install
Projects
None yet
Development

No branches or pull requests

1 participant