Closed blackbt closed 10 months ago
I'm guessing you are getting "error: metadata-generation-failed" during installation.
In that case you have to install libfuse-dev first. e.g.
apt-get install -y libfuse-dev
You also need to install pkg-config
, as mentioned in the error stack:
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
pkg-config unavailable, build terminated
[end of output]
In a clean bookworm
container:
~ # apt install python3-pip pkg-config libfuse-dev
[...]
~ # pip3 install --break-system-packages fuse-python==1.0.5
Collecting fuse-python==1.0.5
Using cached fuse-python-1.0.5.tar.gz (49 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: fuse-python
Building wheel for fuse-python (setup.py) ... done
Created wheel for fuse-python: filename=fuse_python-1.0.5-cp311-cp311-linux_x86_64.whl size=93307 sha256=df6376656a4aba79332ae748e3ae2df78b190a86b4c8b12566a60da91ea3c467
Stored in directory: /root/.cache/pip/wheels/60/e9/fd/8c13394c2d94a855caf3e5b5beed2bfdcff7c4e066985ebd4b
Successfully built fuse-python
Installing collected packages: fuse-python
Successfully installed fuse-python-1.0.5
how to solve this error while installing by pip pip install fuse-python==1.0.5