Entering edit mode
5.3 years ago
zf1718
•
0
Hi,
I'm trying to run locuszoom on the ubuntu but keep geting this error. I searched quite a bit but haven't found a solution.
Any idea or suggestion how to solve it? Thanks much!
Traceback (most recent call last):
File "../software/locuszoom/bin/locuszoom", line 26, in <module>
from m2zfast import main
ImportError: No module named m2zfast
Kind regard Fang
Looks like it could be a missing python module. Can you try pip- or conda- installing m2zfast if that's the case?
Thanks for the suggestions! However, it doesnot work. m2zfast.py is a file in the folder named src, which contains source code for locuszoom. I guess the programme cannot recognize m2zfast.py somehow.
Can you try adding the
src
directory to the$PYTHONPATH
variable?Many Thanks! I am kind of confused about how to add directory to the PYTHONPATH. I don't really understand the codes in other websites. Can you please help me about it? Thank you again for your patience. Happy New Year.
The github page states locuszoom-standalone is not under active development, and recommends using the Javascript version:
https://github.com/statgen/locuszoom
Do the scripts under the "src" folder have the correct permissions? See Cannot get standalone version to run .