Skip to content

Problem compiling Cython file #1

@caitlinch

Description

@caitlinch

I'm having issues installing TIGGER. The issue is with compiling the Cython file.
I’ve cloned the github:

cd ~/Documents/Executables/
git clone https://github.com/brettc/tigger.git
cd tigger

Then I tried to install:

caitlinch$ python setup.py install
Compiling tigger/_bounce.pyx because it changed.
[1/1] Cythonizing tigger/_bounce.pyx

Error compiling Cython file:
------------------------------------------------------------
...
# distutils: include_dirs = NUMPY_PATH
^
------------------------------------------------------------

tigger/_bounce.pyx:1:0: 'tigger/_bounce' is not a valid module name
Traceback (most recent call last):
  File "setup.py", line 22, in <module>
    ext_modules=cythonize(
  File "/Users/caitlincherryh/opt/anaconda3/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1102, in cythonize
    cythonize_one(*args)
  File "/Users/caitlincherryh/opt/anaconda3/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1225, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: tigger/_bounce.pyx

It looks like something to do with the dependencies to me, but I don't have enough experience with Cython/compiling programs to troubleshoot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions