datamllab / tods

TODS: An Automated Time-series Outlier Detection System
http://tods-doc.github.io
Apache License 2.0
1.46k stars 194 forks source link

git.exc.InvalidGitRepositoryError: E:\Anaconda3\envs\newtods\lib\site-packages\tods-0.0.2-py3.6.egg\tods\detection_algorithm #51

Closed ouy-cherish closed 2 years ago

ouy-cherish commented 2 years ago

Thank you for your sharing. I met a problem when I repeated it. Is there a solution to this problem

File "D:/pythonproject/newtods/examples/sk_examples/DeepLog_test.py", line 2, in from tods.sk_interface.detection_algorithm.DeepLog_skinterface import DeepLogSKI File "E:\Anaconda3\envs\newtods\lib\site-packages\tods-0.0.2-py3.6.egg\tods__init.py", line 5, in from tods.detection_algorithm import * File "E:\Anaconda3\envs\newtods\lib\site-packages\tods-0.0.2-py3.6.egg\tods\detection_algorithm__init.py", line 17, in from tods.detection_algorithm.PyodMoGaal import Mo_GaalPrimitive File "E:\Anaconda3\envs\newtods\lib\site-packages\tods-0.0.2-py3.6.egg\tods\detection_algorithm\PyodMoGaal.py", line 124, in class Mo_GaalPrimitive(UnsupervisedOutlierDetectorBase[Inputs, Outputs, Params, Hyperparams]): File "E:\Anaconda3\envs\newtods\lib\site-packages\tods-0.0.2-py3.6.egg\tods\detection_algorithm\PyodMoGaal.py", line 187, in Mo_GaalPrimitive git_commit=d3m_utils.current_git_commit(os.path.dirname(file__)), File "E:\Anaconda3\envs\newtods\lib\site-packages\tamu_d3m-2021.2.12-py3.6.egg\d3m\utils.py", line 87, in current_git_commit repo = git.Repo(path=path, search_parent_directories=search_parent_directories) File "E:\Anaconda3\envs\newtods\lib\site-packages\git\repo\base.py", line 181, in init__ raise InvalidGitRepositoryError(epath) git.exc.InvalidGitRepositoryError: E:\Anaconda3\envs\newtods\lib\site-packages\tods-0.0.2-py3.6.egg\tods\detection_algorithm

Process finished with exit code 1

lhenry15 commented 2 years ago

Seems like you are using Windows-based system. Currently this package only support linux-based systems (ubuntu/OSX/centOS).

ouy-cherish commented 2 years ago

Yes, I made the same mistake. Thank you very much for your answer, which helped me a lot