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

Problem compiling Cython file #1

Open
caitlinch opened this issue Jul 7, 2022 · 0 comments
Open

Problem compiling Cython file #1

caitlinch opened this issue Jul 7, 2022 · 0 comments

Comments

@caitlinch
Copy link

caitlinch commented Jul 7, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant