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

Error during installation process #10

Open
farshadf opened this issue Aug 18, 2019 · 2 comments
Open

Error during installation process #10

farshadf opened this issue Aug 18, 2019 · 2 comments

Comments

@farshadf
Copy link

Hi,

I am trying to install the latest taxonomer (taxonomer_0.5), and unfortunately there is not much progress due to a problem I cannot understand. This is the error message :

python setup.py build_ext --inplace
Compiling scripts/cython/binner_PY.pyx because it changed.
Compiling scripts/cython/build_DBpy.pyx because it changed.
Compiling scripts/cython/classify_READpy.pyx because it changed.
Compiling scripts/cython/binner_splitpy.pyx because it changed.
Compiling scripts/cython/binner_mergepy.pyx because it changed.
[1/5] Cythonizing scripts/cython/binner_PY.pyx

Error compiling Cython file:

...
cimport binnerPY
^

scripts/cython/binner_PY.pyx:1:0: 'scripts/cython/binner_PY' is not a valid module name
Traceback (most recent call last):
File "setup.py", line 17, in
Extension("scripts/cython/binner_mergepy",sources=["scripts/cython/binner_mergepy.pyx"])
File ".../miniconda3/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1096, in cythonize
cythonize_one(*args)
File ".../miniconda3/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1219, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: scripts/cython/binner_PY.pyx

I am using python 3.7 and cython is installed through conda and can be readily found on the PATH. The package is copied by git. Can you please help me to rectify this problem?

@MaHaoran627
Copy link

Same issue. Python2.7, Cython and biopython were built via conda.

@stevendflygare
Copy link
Contributor

The dependency requirements were too vague which is causing the issues you are experiencing (readme has now been updated to reflect this). Python version must be 2.7, cython version must be 0.20.1. I just complied the code on a linux machine that has these package versions and everything built okay. The REAME.md has been updated to reflect these requirements. Something to keep in mind is this tool is several years old and has never been updated, nor will it be.

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

3 participants