git.exc.InvalidGitRepositoryError

Google 上有很多解决此错误的方法,但我无法使用这些方法解决它们。我不知道为什么。

Traceback (most recent call last):
  .
  .
  .
  File "C:\Users\tla101\anaconda3\envs\cog2021\lib\site-packages\rainy\utils\log.py",line 37,in set_dir_from_script_path
    repo = git.Repo(script_path,search_parent_directories=True)
  File "C:\Users\tla101\anaconda3\envs\cog2021\lib\site-packages\git\repo\base.py",line 181,in __init__
    raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: C:\Users\tla101\cog2021\agents\ppo_naturecnn.py

我认为最后 5 行是主要问题。

附言我尝试在不使用 pipenv 的情况下关注 github 存储库。
https://github.com/kngwyu/rogue-gym-agents-cog19

iCMS 回答:git.exc.InvalidGitRepositoryError

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/431985.html

大家都在问