Skip to content

Got this error when run gitfs on my Mac #26

@weavingtan

Description

@weavingtan

My computer version:

     version 11.5.1

python3 version:3.9

installation steps:

☁  ~  brew install gromgit/fuse/gitfs-mac
Updating Homebrew...
^C==> Downloading https://github.com/gromgit/homebrew-fuse/releases/download/gitfs-mac-0.5.2/gitfs-mac-0.5.2.big_sur.bottle.tar.gz
Already downloaded: /Users/xxxxx/Library/Caches/Homebrew/downloads/a5acca0f8a465395ddf079dc9a73c14ffe4472ab81f2f807b1d9776695c7a874--gitfs-mac-0.5.2.big_sur.bottle.tar.gz
==> Installing gitfs-mac from gromgit/fuse
==> Pouring gitfs-mac-0.5.2.big_sur.bottle.tar.gz
==> Caveats
gitfs clones repos in /var/lib/gitfs. You can either create it with
sudo mkdir -m 1777 /var/lib/gitfs or use another folder with the
repo_path argument.
==> Summary
🍺  /usr/local/Cellar/gitfs-mac/0.5.2: 874 files, 10MB

When i execute the command

☁  ~  gitfs
Traceback (most recent call last):
  File "/usr/local/bin/gitfs", line 33, in <module>
    sys.exit(load_entry_point('gitfs==0.5.1', 'console_scripts', 'gitfs')())
  File "/usr/local/Cellar/gitfs-mac/0.5.2/libexec/lib/python3.9/site-packages/gitfs/__init__.py", line 19, in mount
    from gitfs.mounter import start_fuse
  File "/usr/local/Cellar/gitfs-mac/0.5.2/libexec/lib/python3.9/site-packages/gitfs/mounter.py", line 22, in <module>
    from pygit2.remote import RemoteCallbacks
ImportError: cannot import name 'RemoteCallbacks' from 'pygit2.remote' (/usr/local/Cellar/gitfs-mac/0.5.2/libexec/lib/python3.9/site-packages/pygit2/remote.py)

What happened? Is the python version wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions