I cloned the repo, created a conda env with python version 3.6.10. Executed "pip install ." and "python setup.py install" then tried to run all at two different notebooks at examples folder. This is the error I took in both. I couldn't parse it into something readable so I just pasted it. It gives "InvalidGitRepositoryError".
Hello there!
I cloned the repo, created a conda env with python version 3.6.10. Executed "pip install ." and "python setup.py install" then tried to run all at two different notebooks at examples folder. This is the error I took in both. I couldn't parse it into something readable so I just pasted it. It gives "InvalidGitRepositoryError".
Edit: I use Ubuntu 22.04 LTS as OS.
Thanks!
{ "name": "InvalidGitRepositoryError", "message": "", "stack": "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m\n\u001b[0;31mInvalidGitRepositoryError\u001b[0m Traceback (most recent call last)\n\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 14\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0md3m\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmetadata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpipeline\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mPipeline\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mPrimitiveStep\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 15\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0maxolotl\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbackend\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msimple\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mSimpleRunner\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 16\u001b[0;31m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mgenerate_dataset\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mgenerate_problem\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 17\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msearcher\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mBruteForceSearch\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 18\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mgenerate_dataset\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mload_pipeline\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mevaluate_pipeline\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\n\u001b[0;32m~/anaconda3/envs/tods/lib/python3.6/site-packages/tods-0.0.2-py3.6.egg/tods/init.py\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtimeseries_processing\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mfeature_analysis\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 5\u001b[0;31m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdetection_algorithm\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 6\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msk_interface\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\n\u001b[0;32m~/anaconda3/envs/tods/lib/python3.6/site-packages/tods-0.0.2-py3.6.egg/tods/detection_algorithm/init.py\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 15\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdetection_algorithm\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mPyodLODA\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mLODAPrimitive\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 16\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdetection_algorithm\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mPyodLOF\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mLOFPrimitive\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 17\u001b[0;31m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdetection_algorithm\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mPyodMoGaal\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mMo_GaalPrimitive\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 18\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdetection_algorithm\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mPyodOCSVM\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mOCSVMPrimitive\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 19\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mtods\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdetection_algorithm\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mPyodSOD\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mSODPrimitive\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\n\u001b[0;32m~/anaconda3/envs/tods/lib/python3.6/site-packages/tods-0.0.2-py3.6.egg/tods/detection_algorithm/PyodMoGaal.py\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 123\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 124\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 125\u001b[0;31m \u001b[0;32mclass\u001b[0m \u001b[0mMo_GaalPrimitive\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mUnsupervisedOutlierDetectorBase\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mInputs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mOutputs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mParams\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mHyperparams\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 126\u001b[0m \"\"\"Multi-Objective Generative Adversarial Active Learning.\n\u001b[1;32m 127\u001b[0m \u001b[0mMO_GAAL\u001b[0m \u001b[0mdirectly\u001b[0m \u001b[0mgenerates\u001b[0m \u001b[0minformative\u001b[0m \u001b[0mpotential\u001b[0m \u001b[0moutliers\u001b[0m \u001b[0mto\u001b[0m \u001b[0massist\u001b[0m \u001b[0mthe\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\n\u001b[0;32m~/anaconda3/envs/tods/lib/python3.6/site-packages/tods-0.0.2-py3.6.egg/tods/detection_algorithm/PyodMoGaal.py\u001b[0m in \u001b[0;36mMo_GaalPrimitive\u001b[0;34m()\u001b[0m\n\u001b[1;32m 186\u001b[0m {'type': metadata_base.PrimitiveInstallationType.PIP,\n\u001b[1;32m 187\u001b[0m 'package_uri': 'git+https://gitlab.com/lhenry15/tods.git@{git_commit}#egg=TODS'.format(\n\u001b[0;32m--> 188\u001b[0;31m \u001b[0mgit_commit\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0md3m_utils\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcurrent_git_commit\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mos\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpath\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdirname\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfile\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 189\u001b[0m ),\n\u001b[1;32m 190\u001b[0m }\n\n\u001b[0;32m~/anaconda3/envs/tods/lib/python3.6/site-packages/d3m/utils.py\u001b[0m in \u001b[0;36mcurrent_git_commit\u001b[0;34m(path, search_parent_directories)\u001b[0m\n\u001b[1;32m 93\u001b[0m \"\"\"\n\u001b[1;32m 94\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 95\u001b[0;31m \u001b[0mrepo\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mgit\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mRepo\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mpath\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mpath\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0msearch_parent_directories\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0msearch_parent_directories\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 96\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mrepo\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mhead\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mobject\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mhexsha\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 97\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\n\u001b[0;32m~/anaconda3/envs/tods/lib/python3.6/site-packages/git/repo/base.py\u001b[0m in \u001b[0;36minit\u001b[0;34m(self, path, odbt, search_parent_directories, expand_vars)\u001b[0m\n\u001b[1;32m 218\u001b[0m \u001b[0;31m# END working dir handling\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 219\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 220\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mworking_dir\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_working_tree_dir\u001b[0m \u001b[0;32mor\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcommon_dir\u001b[0m \u001b[0;31m# type: Optional[PathLike]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 221\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mgit\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mGitCommandWrapperType\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mworking_dir\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 222\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\n\u001b[0;32m~/anaconda3/envs/tods/lib/python3.6/site-packages/git/repo/base.py\u001b[0m in \u001b[0;36mcommon_dir\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 301\u001b[0m \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 302\u001b[0m \u001b[0;31m# or could return \"\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 303\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mInvalidGitRepositoryError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 304\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 305\u001b[0m \u001b[0;34m@\u001b[0m\u001b[0mproperty\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\n\u001b[0;31mInvalidGitRepositoryError\u001b[0m: "
}