bxlab / bx-python

Tools for manipulating biological data, particularly multiple sequence alignments
MIT License
145 stars 53 forks source link

error can't found bx.intervals module #60

Closed shiyi-pan closed 4 years ago

shiyi-pan commented 4 years ago

I installed bx-python use " pip install bx-python" command in my linux. usually my default path is /uesr/python2.7/lib/python2.7/site-packages, but some file of this module is in /uesr/python2.7/bin. When I import the module bx.intervals in python's command line with the command "import bx.intervals", it worked well ,but when I worte the command into a *.py file , I got an error "ModuleNotFoundError: No module named 'bx'".Can you help me fix the error?