You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, I'm trying to install the software after cloning the repository, both in .zip format and with git clone. I have already installed Cython, numpy and pandas but I always get the same error:
CondaValueError: no package names supplied,
try "conda remove -h" for more details
(base) alessandrolisi1989@alisi-2 phasedibd % make
pip install cython --user
Requirement already satisfied: cython in /Users/alessandrolisi1989/.local/lib/python3.12/site-packages (3.0.10)
python setup.py build_ext --inplace
Compiling phasedibd/template_pbwt_analysis.pyx because it changed.
Compiling phasedibd/vcf_haplotype_alignment.pyx because it changed.
[1/2] Cythonizing phasedibd/template_pbwt_analysis.pyx
/Users/alessandrolisi1989/.local/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /Users/alessandrolisi1989/Desktop/Cameroon_Project_final/PhasedIBD/phasedibd/phasedibd/templated_pbwt_analysis.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
hi, I'm trying to install the software after cloning the repository, both in .zip format and with git clone. I have already installed Cython, numpy and pandas but I always get the same error:
CondaValueError: no package names supplied,
try "conda remove -h" for more details
(base) alessandrolisi1989@alisi-2 phasedibd % make
pip install cython --user
Requirement already satisfied: cython in /Users/alessandrolisi1989/.local/lib/python3.12/site-packages (3.0.10)
python setup.py build_ext --inplace
Compiling phasedibd/template_pbwt_analysis.pyx because it changed.
Compiling phasedibd/vcf_haplotype_alignment.pyx because it changed.
[1/2] Cythonizing phasedibd/template_pbwt_analysis.pyx
/Users/alessandrolisi1989/.local/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /Users/alessandrolisi1989/Desktop/Cameroon_Project_final/PhasedIBD/phasedibd/phasedibd/templated_pbwt_analysis.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
...
free(self.segments_end_cm)
free(self.segments_start_bp)
free(self.segments_end_bp)
cdef uint32_t num_cols
if self.current_matches_start != NULL:
num_cols = sizeof(self.current_matches_start)/sizeof(self.current_matches_start[0])
^
phasedibd/template_pbwt_analysis.pyx:93:57: Cannot assign type 'double' to 'uint32_t' (alias of 'unsigned int')
Error compiling Cython file:
...
cdef uint32_t num_rows
cdef uint32_t num_cols
first free any already allocated memory
if self.current_matches_start != NULL:
num_rows = sizeof(self.current_matches_start)/sizeof(self.current_matches_start[0])
^
phasedibd/template_pbwt_analysis.pyx:165:57: Cannot assign type 'double' to 'uint32_t' (alias of 'unsigned int')
Traceback (most recent call last):
File "/Users/alessandrolisi1989/Desktop/Cameroon_Project_final/PhasedIBD/phasedibd/setup.py", line 29, in
ext_modules=cythonize([Extension('phasedibd.', ['phasedibd/.pyx'], include_dirs=[np.get_include()])]),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/alessandrolisi1989/.local/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
cythonize_one(*args)
File "/Users/alessandrolisi1989/.local/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: phasedibd/template_pbwt_analysis.pyx
make: *** [all] Error 1
The text was updated successfully, but these errors were encountered: