Unable to install git repo by pip

2019-07-29 03:54发布

问题:

I am trying to install a git repo's master branch source by pip and I am using the command

pip install git+https://github.com/apache/systemml/@master#egg=systemml&subdirectory=src/main/python

But I encountered the error:

Command "python setup.py egg_info" failed with error code 1 in C:\Users\test\AppData\Local\Temp\pip-install-3hqjwj06\systemml\ 'subdirectory' is not recognized as an internal or external command, operable program or batch file.

So I researched about it and found the StackOverFlow question and followed the following steps of the most upvoted answer but it didn't work in my case. I also tried installing python 3.6 and it also did not help.

I am using Windows OS and 3.7 python

Any help is appreciated.