Skip to content

Conversation

@MihailJP
Copy link

@MihailJP MihailJP commented Nov 9, 2024

Fix error like 'git.exc.NoSuchPathError: C:/c/Users/parrot/git/wp43'

The issue occurs after upgrading Python on MinGW64 to version 3.12.7

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:/msys64/mingw64/bin/git-up.exe/__main__.py", line 7, in <module>
  File "C:/msys64/mingw64/lib/python3.12/site-packages/PyGitUp/gitup.py", line 570, in run
    gitup = GitUp()
            ^^^^^^^
  File "C:/msys64/mingw64/lib/python3.12/site-packages/PyGitUp/gitup.py", line 134, in __init__
    self.repo = Repo(repo_dir, odbt=GitCmdObjectDB)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:/msys64/mingw64/lib/python3.12/site-packages/git/repo/base.py", line 236, in __init__
    raise NoSuchPathError(epath)
git.exc.NoSuchPathError: C:/c/Users/parrot/git/wp43

Fix error like 'git.exc.NoSuchPathError: C:/c/Users/parrot/git/wp43'

The issue occurs after upgrading Python on MinGW64 to version 3.12.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant