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

No such file or directory: 'mvn': 'mvn' #32

Open
RuihanZhang2015 opened this issue Mar 26, 2021 · 1 comment
Open

No such file or directory: 'mvn': 'mvn' #32

RuihanZhang2015 opened this issue Mar 26, 2021 · 1 comment

Comments

@RuihanZhang2015
Copy link

When I typed python build-spark-local.py, it shows the following errors, what should I do?

Traceback (most recent call last):
File "build-spark-local.py", line 12, in
run_build(base_folder, build_args)
File "/mp/nas2/ruihan/stitching-spark/build.py", line 8, in run_build
subprocess.call(cmd_args, cwd=base_folder)
File "/home/ruihan/anaconda3/lib/python3.7/subprocess.py", line 339, in call
with Popen(*popenargs, **kwargs) as p:
File "/home/ruihan/anaconda3/lib/python3.7/subprocess.py", line 800, in init
restore_signals, start_new_session)
File "/home/ruihan/anaconda3/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'mvn': 'mvn'

@BioinfoTongLI
Copy link

Hi @RuihanZhang2015,
I've had the same error. I think it's caused by a missing prerequisite: maven.
I installed it with sudo apt-get install maven and the building worked fine.

Best,
Tong

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