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

Adam Sjøgren <[email protected]>
Newsgroups gmane.comp.python.bio.general
Organization koldfront - analysis & revolution, Copenhagen, Denmark
Message-ID <[email protected]>
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           [email protected]
  charmingly quaint."

_______________________________________________
Biopython mailing list  -  [email protected]
https://mailman.open-bio.org/mailman/listinfo/biopython
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.