[Biopython] [PATCH] Use https:// instead of git:// in examples

Adam Sjøgren asjo at koldfront.dk
Fri Oct 4 12:16:47 UTC 2019


Markus writes:

>>      /home/adsj/work/biopython/Bio/__init__.py:128: BiopythonWarning:
>>        You may be importing Biopython from inside the source tree.
>>        [...]

> The warning is mostly intended for end user who didn't properly
> installed their Biopython. As a developer you need to get used to
> it...

Yup, I was ignoring it, but then the "_aligners" thing popped up:

>>        File "/home/adsj/work/biopython/Bio/Align/__init__.py", line 22, in <module>
>>          from Bio.Align import _aligners
>>      ImportError: cannot import name '_aligners'

> Actually, the top-level import of _aligners, which should be a
> compiled C extension, is indeed a pain. We have this since a few
> versions and it makes testing of many modules, which actually do not
> use _aligners, more complicated. To get rid of it you need to compile
> Biopython.

I did run "python setup.py build" and "python setup.py test" in my clone
of the repository, but I still get the error above.

Maybe I need to set more than just PYTHONPATH?


  Best regards,

    Adam

-- 
 "Since it is completely undocumented, your faith that        Adam Sjøgren
  it will stick around until they invent v4 is           asjo at koldfront.dk
  charmingly quaint."



More information about the Biopython mailing list