ImportError: No module named teHmm.common
zhenzhenyang-psu opened this issue · 4 comments
Hi there,
i tried to run ./setup.sh under teHmm, however, there is an error popping up saying
" from teHmm.common import checkRequirements
ImportError: No module named teHmm.common"
I installed other dependencies, but I am not sure where to get this teHmm.common module. Do you have an idea?
Thanks very much!
Zhenzhen
I think the problem is your PYTHONPATH. Try setting it, as described in
the README, to include the parent directory of tehmm.
The README should be changed to list setting the PYHTONPATH before running
setup.
On Mon, Apr 25, 2016 at 3:38 PM, zzy5028 notifications@github.com wrote:
Hi there,
i tried to run ./setup.sh under teHmm, however, there is an error popping
up saying
" from teHmm.common import checkRequirements
ImportError: No module named teHmm.common"I installed other dependencies, but I am not sure where to get this
teHmm.common module. Do you have an idea?Thanks very much!
Zhenzhen
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1
Hi Glenn,
Thanks very much for your reply:). I have fixed that problem, but now there is another one while I was running python allTests.py
"python allTests.py
...........................sh: compareBedStates.py: command not found
F...............
FAIL: testCompare (teHmm.tests.compareTest.TestCase)
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/teHmm/tests/compareTest.py", line 53, in testCompare
assert ret == 0
AssertionError
Ran 43 tests in 32.581s
FAILED (failures=1)"
Do you think this is too big a problem?
Thanks,
Zhenzhen
That's probably not having tehmm/bin in your PATH....
On Mon, Apr 25, 2016 at 4:31 PM, zzy5028 notifications@github.com wrote:
Hi Glenn,
Thanks very much for your reply:). I have fixed that problem, but now
there is another one while I was running python allTests.py"python allTests.py
...........................sh: compareBedStates.py: command not found
F............... FAIL: testCompare (teHmm.tests.compareTest.TestCase)Traceback (most recent call last):
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/teHmm/tests/compareTest.py",
line 53, in testCompare
assert ret == 0AssertionError
Ran 43 tests in 32.581s
FAILED (failures=1)"
Do you think this is too big a problem?
Thanks,
Zhenzhen—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)
I confirmed that it is indeed in my PATH...