poke1024 / pyalign

Fast and Versatile Alignments for Python
MIT License
47 stars 6 forks source link

running from repo as working directory fails #5

Open bertsky opened 1 year ago

bertsky commented 1 year ago

If I import pyalign while still inside the source directory, I get the following:

RuntimeError: none of ['pyalign.algorithm.native', 'pyalign.algorithm.intel_avx2', 'pyalign.algorithm.apple_m1', 'pyalign.algorithm.generic'] is available

(The problem goes away when cding somewhere else.)

poke1024 commented 1 year ago

Yes, I know, the problem here is that the git repo contains a folder called pyalign and import pyalign tries to import that folder, instead of the module. Maybe I should rename that folder to pyalign-src or something similar.