我刚接触Python,需要使用一个基于Python的工具,名为chromosomer,它导入了一些Python包,其中包括bioformats。Bioformats有许多模块,包括bed。运行chromosomer时,出现错误:
smeeta:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import chromosomer
>>> from chromosomer.cli import bioformats
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/chromosomer/cli.py", line 8, in <module>
import bioformats.bed
ImportError: No module named bed
>>> import bioformats
>>> import bioformats.bed
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named bed
>>>
我该如何安装chromosomer包及其相关的依赖包?