diff --git a/tests/Makefile b/tests/Makefile index caf4f48176c..c6464079de7 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -49,7 +49,7 @@ install-deps: install-nebula-py: install-deps git clone --branch master https://github.com/vesoft-inc/nebula-python $(CURR_DIR)/nebula-python cd $(CURR_DIR)/nebula-python \ - && pip3 install --user . -i $(PYPI_MIRROR) --upgrade + && if [ $(PY_VERSION) -eq 6 ]; then python3 setup.py install; else pip3 install --user . -i $(PYPI_MIRROR) --upgrade; fi rm -rf $(CURR_DIR)/nebula-python gherkin-fmt: install-deps