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?
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?