Martinsos / edlib

Lightweight, super fast C/C++ (& Python) library for sequence alignment using edit (Levenshtein) distance.
http://martinsos.github.io/edlib
MIT License
493 stars 162 forks source link

Anaconda installation broken? #112

Closed meyermj closed 6 years ago

meyermj commented 6 years ago

I tried to install using anaconda:

$ conda install edlib
Fetching package metadata .............
Solving package specifications: .

Package plan for installation in environment /home/mmeyer/anaconda2/envs/sci2:

The following NEW packages will be INSTALLED:

    edlib: 1.2.3-0 bioconda

Proceed ([y]/n)? y

but it does not appear to work:

>>> import edlib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named edlib
Martinsos commented 6 years ago

Hi @meyermj, have you tried installing edlib-python instead of edlib? It seems like edlib-python installs Edlib's python package.

meyermj commented 6 years ago

It doesn't find a package called edlib-python in the conda repos:

$conda install edlib-python
Fetching package metadata .............

PackageNotFoundError: Package missing in current linux-64 channels: 
  - edlib-python

My first comment shows that edlib installs, but cannot be imported. I'm not sure why that would be.

nextgenusfs commented 6 years ago

I believe it is python-edlib and is located in the Bioconda repository https://bioconda.github.io.

$ conda search python-edlib
Fetching package metadata .................
python-edlib              *  1.2.3                    py27_0  bioconda        
                             1.2.3                    py35_0  bioconda        
                             1.2.3                    py36_0  bioconda    
meyermj commented 6 years ago

That works, thanks!

Martinsos commented 6 years ago

Thanks @nextgenusfs :)!!