-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi there,
I just wanted to join the ranks of others having issues with the current github build. My code/error is below. I have had Telescope installed in the past, but am on a new machine and am struggling to get it up and running.
I couldn't get around the numpy error on the bioconda distribution, but I'm also having trouble installing from github with pip.
Here is the error:
(Telescope) thomas@thomas-System-Product-Name:~$ pip install git+https://github.com/mlbendall/telescope.git
Collecting git+https://github.com/mlbendall/telescope.git
Cloning https://github.com/mlbendall/telescope.git to /tmp/pip-req-build-q7psz3dx
Running command git clone --filter=blob:none --quiet https://github.com/mlbendall/telescope.git /tmp/pip-req-build-q7psz3dx
Resolved https://github.com/mlbendall/telescope.git to commit 4cf18595eea1702775e8a8bbc7b37ebac9233fd5
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
/home/thomas/miniconda3/envs/Telescope/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-req-build-q7psz3dx/telescope/utils/calignment.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
# -*- coding: utf-8 -*-
from calignment cimport AlignedPair
^
------------------------------------------------------------
telescope/utils/calignment.pyx:2:0: 'calignment.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
# -*- coding: utf-8 -*-
from calignment cimport AlignedPair
^
------------------------------------------------------------
telescope/utils/calignment.pyx:2:0: 'calignment/AlignedPair.pxd' not found
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-req-build-q7psz3dx/setup.py", line 39, in <module>
extensions = cythonize(extensions)
File "/home/thomas/miniconda3/envs/Telescope/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1115, in cythonize
cythonize_one(*args)
File "/home/thomas/miniconda3/envs/Telescope/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: telescope/utils/calignment.pyx
Compiling telescope/utils/calignment.pyx because it changed.
[1/1] Cythonizing telescope/utils/calignment.pyx
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
My guess is that it's a cython compatibility issue, but rolling back to a previous version of cython did not help.
I should also not that I had issues setting up the environment from the yml github link, so I had to download it locally and set it up from there. Others have noted the same issue, such as can be seen here
JianGuoZhou3 and desperado39
Metadata
Metadata
Assignees
Labels
No labels