Comments (1)
This is quite a bit later but I hope this can help anyone else coming across this, I was able to work around as follows. This is on python3.12, but should be similar for other versions:
❯ python3.12 -m venv venv12
source venv%
❯ source venv12/bin/activate
❯ pip install --no-cache-dir cython setuptools wheel
Collecting cython
Downloading Cython-3.0.10-py2.py3-none-any.whl.metadata (3.2 kB)
Collecting setuptools
Downloading setuptools-69.2.0-py3-none-any.whl.metadata (6.3 kB)
Collecting wheel
Downloading wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
Downloading Cython-3.0.10-py2.py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 4.4 MB/s eta 0:00:00
Downloading setuptools-69.2.0-py3-none-any.whl (821 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 821.5/821.5 kB 4.7 MB/s eta 0:00:00
Downloading wheel-0.43.0-py3-none-any.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.8/65.8 kB 4.2 MB/s eta 0:00:00
Installing collected packages: wheel, setuptools, cython
Successfully installed cython-3.0.10 setuptools-69.2.0 wheel-0.43.0
[notice] A new release of pip is available: 23.3.1 -> 24.0
[notice] To update, run: pip install --upgrade pip
Note that --no-cache-dir
is required so that cython
can be imported (see https://github.com/Martinsos/edlib/blob/master/bindings/python/setup.py)
❯ EDLIB_USE_CYTHON=1 pip install --no-cache-dir edlib
Collecting edlib
Downloading edlib-1.3.9.tar.gz (91 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.4/91.4 kB 2.7 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Building wheels for collected packages: edlib
Building wheel for edlib (setup.py) ... done
Created wheel for edlib: filename=edlib-1.3.9-cp312-cp312-macosx_14_0_arm64.whl size=65999 sha256=65ab2d018008666195662e09865ec06702ed5bb9870284259375edd78e20bf0a
Stored in directory: /private/var/folders/f5/z80qgkk14wggp90g64zb60840000gn/T/pip-ephem-wheel-cache-fmjmzex0/wheels/79/8f/1f/3af9518754b7327229d01c80162e887a7adf171b5c0dc74bcc
Successfully built edlib
Installing collected packages: edlib
Successfully installed edlib-1.3.9
[notice] A new release of pip is available: 23.3.1 -> 24.0
[notice] To update, run: pip install --upgrade pip
❯ python
Python 3.12.1 (main, Dec 7 2023, 20:45:44) [Clang 15.0.0 (clang-1500.0.40.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import edlib
>>> edlib.align("telephone", "elephant")
{'editDistance': 3, 'alphabetLength': 8, 'locations': [(None, 7)], 'cigar': None}
from edlib.
Related Issues (20)
- Is there a suffix mode? HOT 3
- align two arrays of strings HOT 7
- anchored alignment HOT 2
- Error when query or target is the empty string and task='path'
- memory leak identified in myersCalcEditDistanceSemiGlobal
- Mention Perl binding in Readme HOT 2
- finding all alignments within the string HOT 5
- Cigar results interpretation
- Missing table data in paper
- Possible to customize costs used for gap opening, gap extension, indel and substitutions? HOT 3
- Wheels for python 3.10 HOT 2
- [Documentation] (1) mention ruby-bindings and (2) mention "why use edlib" in the main README HOT 1
- results different with usearch and vsearch global alignment
- Choosing longest or shortest alignment HOT 1
- How to report all possibale positions not only the best one ? HOT 1
- Cannot install edlib for Python 3.11 on Windows HOT 1
- Perl Wrapper around Edlib
- Multiple locations but one CIGAR?
- Documentation outdated (v1.1.2 vs v1.2.7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edlib.