[Numpy-discussion] python3 setup.py install fails with git maint/1.6.x

Darren Dale dsdale24 at gmail.com
Mon Apr 4 15:15:37 EDT 2011


I just checkout out the 1.6 branch, attempted to install with python3:

RefactoringTool: Line 695: You should use a for loop here
Running from numpy source directory.Traceback (most recent call last):
  File "setup.py", line 196, in <module>
    setup_package()
  File "setup.py", line 170, in setup_package
    write_version_py()
  File "setup.py", line 117, in write_version_py
    from numpy.version import git_revision as GIT_REVISION
ImportError: cannot import name git_revision

Next, I built and installed with python2, with no problems. Then I
attempted to install with python3 again, at which point git_revision
was importable, presumably because it was provided during the python2
build.

Darren



More information about the NumPy-Discussion mailing list