Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named teHmm.common #1

Open
zhenzhenyang-psu opened this issue Apr 25, 2016 · 4 comments
Open

ImportError: No module named teHmm.common #1

zhenzhenyang-psu opened this issue Apr 25, 2016 · 4 comments

Comments

@zhenzhenyang-psu
Copy link

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

@glennhickey
Copy link
Owner

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 [email protected] 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

@zhenzhenyang-psu
Copy link
Author

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

@glennhickey
Copy link
Owner

That's probably not having tehmm/bin in your PATH....

On Mon, Apr 25, 2016 at 4:31 PM, zzy5028 [email protected] 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 == 0

AssertionError

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)

@zhenzhenyang-psu
Copy link
Author

I confirmed that it is indeed in my PATH...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants