ckoerber / luescher-nd

This repository supports the publication https://arxiv.org/abs/1912.04425
https://ckoerber.github.io/luescher-nd/
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Can't Compile #2

Closed evanberkowitz closed 5 years ago

evanberkowitz commented 5 years ago

When I do python3 setup.py configure --eigen $HOME/physics/eigen/ --spectra $HOME/physics/spectra/ I get the following error:

running configure
Traceback (most recent call last):
  File "setup.py", line 102, in <module>
    setup_requires=["cython", "numpy"],
  File "/usr/local/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 983, in run_command
    cmd_obj = self.get_command_obj(command)
  File "/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 858, in get_command_obj
    cmd_obj = self.command_obj[command] = klass(self)
  File "/usr/local/lib/python3.7/site-packages/setuptools/__init__.py", line 163, in __init__
    _Command.__init__(self, dist)
  File "/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/cmd.py", line 62, in __init__
    self.initialize_options()
  File "setup.py", line 50, in initialize_options
    if data:
UnboundLocalError: local variable 'data' referenced before assignment

I have > pip3 show cython

Name: Cython
Version: 0.29.6
Summary: The Cython compiler for writing C extensions for the Python language.
Home-page: http://cython.org/
Author: Robert Bradshaw, Stefan Behnel, Dag Seljebotn, Greg Ewing, et al.
Author-email: cython-devel@python.org
License: Apache
Location: /usr/local/lib/python3.7/site-packages
Requires:
Required-by: