compbiol / CAMSA

CAMSA: a tool for Comparative Analysis and Merging of Scaffold Assemblies
MIT License
24 stars 4 forks source link

error in installing camsa #20

Open Hemaprasanth24 opened 11 months ago

Hemaprasanth24 commented 11 months ago

hi, i was trying to install camsa but it occurs with a error

(base) hema@hema-Aspire-A715-51G:~$ pip install camsa Collecting camsa Using cached CAMSA-1.3-py2.py3-none-any.whl (4.5 MB) Requirement already satisfied: six>=1.10.0 in ./anaconda3/lib/python3.11/site-packages (from camsa) (1.16.0) Requirement already satisfied: networkx>=2.1 in ./anaconda3/lib/python3.11/site-packages (from camsa) (3.1) Requirement already satisfied: Jinja2>=2.8 in ./anaconda3/lib/python3.11/site-packages (from camsa) (3.1.2) Collecting enum-compat (from camsa) Using cached enum_compat-0.0.3-py3-none-any.whl (1.3 kB) Collecting blist>=1.3.6 (from camsa) Using cached blist-1.3.6.tar.gz (122 kB) Preparing metadata (setup.py) ... done Collecting ConfigArgParse>=0.10.0 (from camsa) Obtaining dependency information for ConfigArgParse>=0.10.0 from https://files.pythonhosted.org/packages/6f/b3/b4ac838711fd74a2b4e6f746703cf9dd2cf5462d17dac07e349234e21b97/ConfigArgParse-1.7-py3-none-any.whl.metadata Using cached ConfigArgParse-1.7-py3-none-any.whl.metadata (23 kB) Collecting biopython>=1.67 (from camsa) Using cached biopython-1.81-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB) Collecting bg>=1.8.1 (from camsa) Using cached bg-1.10-py3-none-any.whl (87 kB) Requirement already satisfied: more-itertools in ./anaconda3/lib/python3.11/site-packages (from camsa) (8.12.0) Collecting coverage (from bg>=1.8.1->camsa) Obtaining dependency information for coverage from https://files.pythonhosted.org/packages/e8/bc/4707652867891c1da12759cc1dcdffed539da88e6fd8d32ff2d97b2b5db4/coverage-7.3.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Using cached coverage-7.3.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.1 kB) Requirement already satisfied: decorator in ./anaconda3/lib/python3.11/site-packages (from bg>=1.8.1->camsa) (5.1.1) Collecting nose (from bg>=1.8.1->camsa) Using cached nose-1.3.7-py3-none-any.whl (154 kB) Collecting marshmallow (from bg>=1.8.1->camsa) Obtaining dependency information for marshmallow from https://files.pythonhosted.org/packages/ed/3c/cebfdcad015240014ff08b883d1c0c427f2ba45ae8c6572851b6ef136cad/marshmallow-3.20.1-py3-none-any.whl.metadata Using cached marshmallow-3.20.1-py3-none-any.whl.metadata (7.8 kB) Collecting ete3 (from bg>=1.8.1->camsa) Using cached ete3-3.1.3-py3-none-any.whl Collecting mock (from bg>=1.8.1->camsa) Obtaining dependency information for mock from https://files.pythonhosted.org/packages/6b/20/471f41173930550f279ccb65596a5ac19b9ac974a8d93679bcd3e0c31498/mock-5.1.0-py3-none-any.whl.metadata Using cached mock-5.1.0-py3-none-any.whl.metadata (3.0 kB) Requirement already satisfied: pytest in ./anaconda3/lib/python3.11/site-packages (from bg>=1.8.1->camsa) (7.4.0) Requirement already satisfied: scipy in ./anaconda3/lib/python3.11/site-packages (from bg>=1.8.1->camsa) (1.10.1) Requirement already satisfied: numpy in ./anaconda3/lib/python3.11/site-packages (from bg>=1.8.1->camsa) (1.24.3) Requirement already satisfied: MarkupSafe>=2.0 in ./anaconda3/lib/python3.11/site-packages (from Jinja2>=2.8->camsa) (2.1.1) Requirement already satisfied: packaging>=17.0 in ./anaconda3/lib/python3.11/site-packages (from marshmallow->bg>=1.8.1->camsa) (23.0) Requirement already satisfied: iniconfig in ./anaconda3/lib/python3.11/site-packages (from pytest->bg>=1.8.1->camsa) (1.1.1) Requirement already satisfied: pluggy<2.0,>=0.12 in ./anaconda3/lib/python3.11/site-packages (from pytest->bg>=1.8.1->camsa) (1.0.0) Using cached ConfigArgParse-1.7-py3-none-any.whl (25 kB) Using cached coverage-7.3.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (232 kB) Using cached marshmallow-3.20.1-py3-none-any.whl (49 kB) Using cached mock-5.1.0-py3-none-any.whl (30 kB) Building wheels for collected packages: blist Building wheel for blist (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [45 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/blist copying blist/_sortedlist.py -> build/lib.linux-x86_64-cpython-311/blist copying blist/init.py -> build/lib.linux-x86_64-cpython-311/blist copying blist/_btuple.py -> build/lib.linux-x86_64-cpython-311/blist copying blist/_sorteddict.py -> build/lib.linux-x86_64-cpython-311/blist running build_ext building 'blist._blist' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/blist gcc -pthread -B /home/hema/anaconda3/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/hema/anaconda3/include -fPIC -O2 -isystem /home/hema/anaconda3/include -fPIC -DBLIST_FLOAT_RADIX_SORT=1 -I/home/hema/anaconda3/include/python3.11 -c blist/_blist.c -o build/temp.linux-x86_64-cpython-311/blist/_blist.o blist/_blist.c: In function ‘unwrap_leaf_array’: blist/_blist.c:4583:37: warning: implicit declaration of function ‘_PyObject_GC_IS_TRACKED’; did you mean ‘PyObject_GC_IsTracked’? [-Wimplicit-function-declaration] 4583 | if (leafs_n > 1 && !_PyObject_GC_IS_TRACKED(leafs[i])) | ^~~~~~~ | PyObject_GC_IsTracked blist/_blist.c: In function ‘py_blist_dealloc’: blist/_blist.c:5789:9: warning: ‘UsingDeprecatedTrashcanMacro’ is deprecated [-Wdeprecated-declarations] 5789 | Py_TRASHCAN_SAFE_BEGIN(self) | ^~~~~~ blist/_blist.c: In function ‘py_blist_sort’: blist/_blist.c:6591:25: error: lvalue required as left operand of assignment 6591 | Py_TYPE(&saved) = &PyRootBList_Type; | ^ blist/_blist.c:6592:27: error: lvalue required as left operand of assignment 6592 | Py_REFCNT(&saved) = 1; | ^ blist/_blist.c: In function ‘init_blist_types1’: blist/_blist.c:7378:32: error: lvalue required as left operand of assignment 7378 | Py_TYPE(&PyBList_Type) = &PyType_Type; | ^ blist/_blist.c:7379:36: error: lvalue required as left operand of assignment 7379 | Py_TYPE(&PyRootBList_Type) = &PyType_Type; | ^ blist/_blist.c:7380:36: error: lvalue required as left operand of assignment 7380 | Py_TYPE(&PyBListIter_Type) = &PyType_Type; | ^ blist/_blist.c:7381:43: error: lvalue required as left operand of assignment 7381 | Py_TYPE(&PyBListReverseIter_Type) = &PyType_Type; | ^ error: command '/usr/bin/gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for blist Running setup.py clean for blist Failed to build blist ERROR: Could not build wheels for blist, which is required to install pyproject.toml-based projects

Hemaprasanth24 commented 11 months ago

i recently solved these error

madeleineaaseremedios commented 7 months ago

i recently solved these error

how did you solve this? i am having the same problem with blist